From 7fff6a00fd3c20bf404c0b9a07d64f49c4b784a0 Mon Sep 17 00:00:00 2001 From: Tadas Baltrusaitis Date: Tue, 20 Dec 2016 13:05:35 -0500 Subject: [PATCH] Another attempt. --- .travis.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index cad7bf8..8826d80 100644 --- a/.travis.yml +++ b/.travis.yml @@ -38,6 +38,7 @@ install: - if [[ ${TRAVIS_OS_NAME} = linux ]]; then sudo apt-get install git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev; fi - if [[ ${TRAVIS_OS_NAME} = linux ]]; then sudo apt-get install python-dev python-numpy libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libjasper-dev checkinstall; fi + - if [[ ${TRAVIS_OS_NAME} = linux ]]; then sudo apt-get install libv4l-dev libxvidcore-dev libx264-dev; fi # Getting newest boost - if [[ ${TRAVIS_OS_NAME} = linux ]]; then sudo add-apt-repository -y ppa:boost-latest/ppa; fi @@ -55,8 +56,10 @@ before_script: - cd opencv - mkdir build - cd build - - cmake -D WITH_V4L=ON -D WITH_OPENCL=OFF .. - - sudo make -j4 install + - cmake -D CMAKE_BUILD_TYPE=RELEASE -D WITH_V4L=ON -D WITH_OPENCL=OFF -D INSTALL_C_EXAMPLES=OFF -D BUILD_EXAMPLES=OFF -D INSTALL_PYTHON_EXAMPLES=OFF .. + - make -j4 + - sudo make install + - sudo ldconfig - cd ../.. script: