Another travis attempt
This commit is contained in:
parent
b9e6f53141
commit
f65ebce751
1 changed files with 11 additions and 8 deletions
19
.travis.yml
19
.travis.yml
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue