Another travis attempt

This commit is contained in:
Tadas Baltrusaitis 2016-12-19 15:29:41 -05:00
parent b9e6f53141
commit f65ebce751

View file

@ -51,14 +51,17 @@ install:
before_script:
# OpenCV install for linux
- if [[ ${TRAVIS_OS_NAME} = linux ]]; then git clone https://github.com/Itseez/opencv.git; fi
- if [[ ${TRAVIS_OS_NAME} = linux ]]; then cd opencv; fi
- if [[ ${TRAVIS_OS_NAME} = linux ]]; then mkdir build; fi
- if [[ ${TRAVIS_OS_NAME} = linux ]]; then cd build; fi
- if [[ ${TRAVIS_OS_NAME} = linux ]]; then cmake -D CMAKE_BUILD_TYPE=RELEASE -D BUILD_SHARED_LIBS=OFF ..; fi
- if [[ ${TRAVIS_OS_NAME} = linux ]]; then make -j2; fi
- if [[ ${TRAVIS_OS_NAME} = linux ]]; then sudo make -j2 install; fi
- if [[ ${TRAVIS_OS_NAME} = linux ]]; then cd ../..; fi
- git clone https://github.com/Itseez/opencv.git
- cd opencv
- mkdir build
- cd build
- cmake -D CMAKE_BUILD_TYPE=RELEASE -D BUILD_SHARED_LIBS=OFF ..
- make -j4
- sudo make -j2 install
- then cd ../..
- if [[ ${TRAVIS_OS_NAME} = linux ]]; then sudo ln /dev/null /dev/raw1394; fi
script:
- $CXX --version