no message
This commit is contained in:
parent
d62cd462c3
commit
179c3296e6
1 changed files with 7 additions and 6 deletions
11
.travis.yml
11
.travis.yml
|
@ -44,18 +44,19 @@ before_install:
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- if [ ${TRAVIS_OS_NAME} = osx ]; then
|
- if ["{TRAVIS_OS_NAME}}" = osx]; then
|
||||||
brew update;
|
brew update;
|
||||||
brew tap homebrew/science;
|
brew tap homebrew/science;
|
||||||
|
/usr/bin/yes | pip uninstall numpy;
|
||||||
|
brew install tbb
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- wget https://github.com/Itseez/opencv/archive/3.1.0.zip
|
- wget https://github.com/Itseez/opencv/archive/3.1.0.zip
|
||||||
- sudo unzip 3.1.0.zip
|
- sudo unzip 3.1.0.zip
|
||||||
|
before_script:
|
||||||
- cd opencv-3.1.0
|
- cd opencv-3.1.0
|
||||||
- sudo mkdir build
|
- sudo mkdir build
|
||||||
- cd build
|
- cd build
|
||||||
|
|
||||||
before_script:
|
|
||||||
- if [ "$CXX" = "g++" ]; then sudo cmake -D CMAKE_BUILD_TYPE=RELEASE -D WITH_V4L=ON -D WITH_OPENCL=OFF -D INSTALL_C_EXAMPLES=OFF -D BUILD_EXAMPLES=OFF -D BUILD_TESTS=OFF -D BUILD_PERF_TESTS=OFF -D BUILD_EXAMPLES=OFF -D INSTALL_PYTHON_EXAMPLES=OFF .. ; fi
|
- if [ "$CXX" = "g++" ]; then sudo cmake -D CMAKE_BUILD_TYPE=RELEASE -D WITH_V4L=ON -D WITH_OPENCL=OFF -D INSTALL_C_EXAMPLES=OFF -D BUILD_EXAMPLES=OFF -D BUILD_TESTS=OFF -D BUILD_PERF_TESTS=OFF -D BUILD_EXAMPLES=OFF -D INSTALL_PYTHON_EXAMPLES=OFF .. ; fi
|
||||||
- if [ "$CXX" = "clang++" ]; then sudo cmake -D CMAKE_CXX_COMPILER=clang++ -D CMAKE_CXX_FLAGS="-std=c++11 -stdlib=libc++ -I/usr/include/libcxxabi" -D CMAKE_EXE_LINKER_FLAGS="-std=c++11 -stdlib=libc++ -lc++abi" -D CMAKE_BUILD_TYPE=RELEASE -D WITH_V4L=ON -D WITH_OPENCL=OFF -D INSTALL_C_EXAMPLES=OFF -D BUILD_EXAMPLES=OFF -D BUILD_TESTS=OFF -D BUILD_PERF_TESTS=OFF -D BUILD_EXAMPLES=OFF -D INSTALL_PYTHON_EXAMPLES=OFF .. ; fi
|
- if [ "$CXX" = "clang++" ]; then sudo cmake -D CMAKE_CXX_COMPILER=clang++ -D CMAKE_CXX_FLAGS="-std=c++11 -stdlib=libc++ -I/usr/include/libcxxabi" -D CMAKE_EXE_LINKER_FLAGS="-std=c++11 -stdlib=libc++ -lc++abi" -D CMAKE_BUILD_TYPE=RELEASE -D WITH_V4L=ON -D WITH_OPENCL=OFF -D INSTALL_C_EXAMPLES=OFF -D BUILD_EXAMPLES=OFF -D BUILD_TESTS=OFF -D BUILD_PERF_TESTS=OFF -D BUILD_EXAMPLES=OFF -D INSTALL_PYTHON_EXAMPLES=OFF .. ; fi
|
||||||
- sudo make -j4
|
- sudo make -j4
|
||||||
|
|
Loading…
Reference in a new issue