mirror of
https://gitcode.com/gh_mirrors/ope/OpenFace.git
synced 2025-12-30 04:52:29 +00:00
Update to travis.
This commit is contained in:
10
.travis.yml
10
.travis.yml
@@ -7,7 +7,7 @@ branches:
|
||||
only:
|
||||
- master
|
||||
- develop
|
||||
- /^feature/-.*$/
|
||||
- feature/dlib-update
|
||||
compiler:
|
||||
- gcc
|
||||
|
||||
@@ -22,11 +22,11 @@ before_install:
|
||||
sudo apt-get update;
|
||||
sudo apt-get install libopenblas-dev;
|
||||
sudo apt-get install git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev;
|
||||
sudo apt-get install python-dev python-numpy libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libjasper-dev libdc1394-22-dev checkinstall;
|
||||
sudo apt-get install python-dev python-numpy libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libdc1394-22-dev checkinstall;
|
||||
sudo apt-get install cmake;
|
||||
sudo apt-get install libboost1.55-all-dev;
|
||||
sudo apt-get install libboost-all-dev;
|
||||
wget https://github.com/opencv/opencv/archive/3.4.0.zip;
|
||||
unzip -q 3.4.0.zip;
|
||||
unzip -qq 3.4.0.zip;
|
||||
cd opencv-3.4.0;
|
||||
mkdir build;
|
||||
cd build;
|
||||
@@ -77,7 +77,7 @@ script:
|
||||
- cd ../../../../../
|
||||
- mkdir build
|
||||
- cd build
|
||||
- cmake -D CMAKE_BUILD_TYPE=RELEASE CMAKE_CXX_FLAGS="-std=c++11" -D CMAKE_EXE_LINKER_FLAGS="-std=c++11" ..
|
||||
- cmake -D CMAKE_BUILD_TYPE=RELEASE CMAKE_CXX_FLAGS="-std=c++11 -Wno-deprecated" -D CMAKE_EXE_LINKER_FLAGS="-std=c++11" ..
|
||||
- make -j4
|
||||
- export OMP_NUM_THREADS=1
|
||||
- export VECLIB_MAXIMUM_THREADS=1
|
||||
|
||||
Reference in New Issue
Block a user