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: