Simplifying travis for OSX.

This commit is contained in:
Tadas Baltrusaitis
2018-06-22 17:07:05 +01:00
parent 3bdc10a461
commit a005e5b6ae
5 changed files with 6 additions and 13 deletions

View File

@@ -71,7 +71,6 @@ before_install:
brew install dlib;
brew install opencv3;
brew upgrade boost;
export PKG_CONFIG_PATH=/usr/local/opt/openblas/lib/pkgconfig;
fi
script:
@@ -89,10 +88,8 @@ script:
- cd ../../../../../
- mkdir build
- cd build
- cmake -D CMAKE_BUILD_TYPE=RELEASE CMAKE_CXX_FLAGS="-std=c++11 -Wno-deprecated" -D CMAKE_EXE_LINKER_FLAGS="-std=c++11" ..
- cmake -D CMAKE_BUILD_TYPE=RELEASE CMAKE_CXX_FLAGS="-std=c++11" -D CMAKE_EXE_LINKER_FLAGS="-std=c++11" ..
- make -j4
- export OMP_NUM_THREADS=1
- export VECLIB_MAXIMUM_THREADS=1
- ../build/bin/FeatureExtraction -f "../samples/2015-10-15-15-14.avi" -q -mloc model/main_clm_general.txt
- ../build/bin/FaceLandmarkImg -fdir ../samples -out_dir data -multi_view 1 -wild -q
- ../build/bin/FaceLandmarkImg -f ../samples/sample1.jpg -out_dir data -multi_view 1 -wild -q