And another attempt.
This commit is contained in:
parent
21367b3b3c
commit
935b28f571
1 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@ install:
|
||||||
- if [ "$CXX" = "clang++" ]; then if [[ ${TRAVIS_OS_NAME} = linux ]]; then export CXX="clang++-3.4"; fi fi
|
- if [ "$CXX" = "clang++" ]; then if [[ ${TRAVIS_OS_NAME} = linux ]]; then export CXX="clang++-3.4"; fi fi
|
||||||
|
|
||||||
- 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 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 libdc1394-22-dev checkinstall; 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
|
||||||
|
|
||||||
# Getting newest boost
|
# Getting newest boost
|
||||||
- if [[ ${TRAVIS_OS_NAME} = linux ]]; then sudo add-apt-repository -y ppa:boost-latest/ppa; fi
|
- if [[ ${TRAVIS_OS_NAME} = linux ]]; then sudo add-apt-repository -y ppa:boost-latest/ppa; fi
|
||||||
|
@ -55,7 +55,7 @@ before_script:
|
||||||
- cd opencv
|
- cd opencv
|
||||||
- mkdir build
|
- mkdir build
|
||||||
- cd build
|
- cd build
|
||||||
- cmake -D CMAKE_BUILD_TYPE=RELEASE -D WITH_V4L=ON -D WITH_FFMPEG=OFF ..
|
- cmake -D WITH_V4L=ON -D WITH_OPENCL=OFF ..
|
||||||
- sudo make -j4 install
|
- sudo make -j4 install
|
||||||
- cd ../..
|
- cd ../..
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue