Forgot to save the file.

This commit is contained in:
Tadas Baltrusaitis 2016-12-21 09:58:15 -05:00
parent 55b4dfd928
commit 52ddc921ff

View file

@ -16,7 +16,7 @@ os:
before_install:
# g++4.8.1
- if [ "$CXX" = "g++" ]; then
if [[ ${TRAVIS_OS_NAME} = linux ]]; then
if [ ${TRAVIS_OS_NAME} = linux ]; then
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test;
sudo apt-get update -qq;
sudo apt-get install -qq g++-4.8;
@ -26,7 +26,7 @@ before_install:
# clang 3.4
- if [ "$CXX" = "clang++" ]; then
if [[ ${TRAVIS_OS_NAME} = linux ]]; then
if [ ${TRAVIS_OS_NAME} = linux ]; then
sudo add-apt-repository -y ppa:h-rayflood/llvm;
sudo apt-get update -qq;
sudo apt-get install -qq clang-3.4;
@ -34,21 +34,22 @@ before_install:
fi
fi
install:
- 'if [ ${TRAVIS_OS_NAME} = linux ]; then
# OpenCV dependencies and boost
- if [ ${TRAVIS_OS_NAME} = linux ]; then
sudo apt-get install git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev;
sudo apt-get install python-dev python-numpy libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libjasper-dev libdc1394-22-dev checkinstall;
# Getting newest boost
sudo add-apt-repository -y ppa:boost-latest/ppa;
sudo apt-get update;
sudo apt-get install libboost1.55-all-dev;
else
fi
# OpenCV dependencies for osx
- if [ ${TRAVIS_OS_NAME} = osx ]; then
brew update;
brew tap homebrew/science;
/usr/bin/yes | pip uninstall numpy;
brew install tbb
fi'
fi
before_script:
# Installing openCV 3.1