Travis test
This commit is contained in:
parent
410fe6aab5
commit
53119f0bca
1 changed files with 21 additions and 17 deletions
36
.travis.yml
36
.travis.yml
|
@ -31,23 +31,27 @@ before_install:
|
||||||
- if [[ ${TRAVIS_OS_NAME} = linux ]]; then sudo apt-get update -qq; fi
|
- if [[ ${TRAVIS_OS_NAME} = linux ]]; then sudo apt-get update -qq; fi
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- if [ "$CXX" = "g++" ]; then if [[ ${TRAVIS_OS_NAME} = linux ]]; then sudo apt-get install -qq g++-4.8; fi fi
|
|
||||||
- if [ "$CXX" = "g++" ]; then if [[ ${TRAVIS_OS_NAME} = linux ]]; then export CXX="g++-4.8"; fi fi
|
|
||||||
- if [ "$CXX" = "clang++" ]; then if [[ ${TRAVIS_OS_NAME} = linux ]]; then sudo apt-get install -qq 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
|
||||||
- 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 [ "$CXX" = "g++" ]; then
|
||||||
|
sudo apt-get install -qq g++-4.8;
|
||||||
# Getting newest boost
|
export CXX="g++-4.8";
|
||||||
- if [[ ${TRAVIS_OS_NAME} = linux ]]; then sudo add-apt-repository -y ppa:boost-latest/ppa; fi
|
else
|
||||||
- if [[ ${TRAVIS_OS_NAME} = linux ]]; then sudo apt-get update; fi
|
sudo apt-get install -qq clang-3.4;
|
||||||
- if [[ ${TRAVIS_OS_NAME} = linux ]]; then sudo apt-get install libboost1.55-all-dev; fi
|
export CXX="clang++-3.4";
|
||||||
|
fi;
|
||||||
- if [[ ${TRAVIS_OS_NAME} = osx ]]; then brew update; fi
|
sudo apt-get install git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev;
|
||||||
- if [[ ${TRAVIS_OS_NAME} = osx ]]; then brew tap homebrew/science; fi
|
sudo apt-get install python-dev python-numpy libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libjasper-dev libdc1394-22-dev checkinstall;
|
||||||
- if [[ ${TRAVIS_OS_NAME} = osx ]]; then /usr/bin/yes | pip uninstall numpy; fi
|
# Getting newest boost
|
||||||
- if [[ ${TRAVIS_OS_NAME} = osx ]]; then brew install tbb opencv3; fi
|
sudo add-apt-repository -y ppa:boost-latest/ppa;
|
||||||
|
sudo apt-get update;
|
||||||
|
sudo apt-get install libboost1.55-all-dev;
|
||||||
|
else
|
||||||
|
brew update;
|
||||||
|
brew tap homebrew/science;
|
||||||
|
/usr/bin/yes | pip uninstall numpy;
|
||||||
|
brew install tbb
|
||||||
|
fi'
|
||||||
|
|
||||||
# Installing openCV 3.1
|
# Installing openCV 3.1
|
||||||
- wget https://github.com/Itseez/opencv/archive/3.1.0.zip
|
- wget https://github.com/Itseez/opencv/archive/3.1.0.zip
|
||||||
|
|
Loading…
Reference in a new issue