From 702a4112b9bdd4124cbcbf1914631f44138a43fb Mon Sep 17 00:00:00 2001 From: Tadas Baltrusaitis Date: Sun, 10 Sep 2017 16:31:03 +0100 Subject: [PATCH] Potential travis fix. --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index ac29a75..81ecf30 100644 --- a/.travis.yml +++ b/.travis.yml @@ -45,7 +45,7 @@ before_install: if [ ${TRAVIS_OS_NAME} = linux ]; then $CXX --version; sudo sed -i -e 's/^Defaults\tsecure_path.*$//' /etc/sudoers; - sudo cmake -D CMAKE_BUILD_TYPE=RELEASE -D WITH_V4L=ON -D WITH_OPENCL=OFF -D INSTALL_C_EXAMPLES=OFF -D BUILD_EXAMPLES=OFF -D BUILD_TESTS=OFF -D BUILD_PERF_TESTS=OFF -D BUILD_EXAMPLES=OFF -D INSTALL_PYTHON_EXAMPLES=OFF ..; + sudo cmake -D CMAKE_BUILD_TYPE=RELEASE -D WITH_V4L=ON -D WITH_OPENCL=OFF -D INSTALL_C_EXAMPLES=OFF -D BUILD_EXAMPLES=OFF -D BUILD_TESTS=OFF -D BUILD_PERF_TESTS=OFF -D BUILD_EXAMPLES=OFF -D INSTALL_PYTHON_EXAMPLES=OFF -D WITH_TBB=ON ..; fi fi @@ -69,7 +69,7 @@ script: - $CXX --version - mkdir build - cd build - - cmake -D CMAKE_BUILD_TYPE=RELEASE .. + - cmake -D CMAKE_BUILD_TYPE=RELEASE -std=c++11 -stdlib=libc++ .. - make -j2 - ../build/bin/FaceLandmarkImg -fdir "../samples/" -ofdir "./demo_img/" -oidir "./demo_img/" -wild -q - ../build/bin/FaceLandmarkImg -inroot ../samples -f sample1.jpg -outroot data -of sample1.txt -op sample1.3d -oi sample1.bmp -multi_view 1 -wild -q