diff --git a/.travis.yml b/.travis.yml index 9144a62..a9c1152 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,6 +22,8 @@ before_install: sudo add-apt-repository -y ppa:boost-latest/ppa; sudo apt-get update; sudo apt-get install libboost1.55-all-dev; + wget https://github.com/Itseez/opencv/archive/3.1.0.zip; + sudo unzip 3.1.0.zip; fi # g++4.8.1 @@ -46,10 +48,10 @@ before_install: - if [ ${TRAVIS_OS_NAME} = osx ]; then brew update; + wget https://github.com/Itseez/opencv/archive/3.1.0.zip; + sudo unzip 3.1.0.zip; fi - - wget https://github.com/Itseez/opencv/archive/3.1.0.zip - - sudo unzip 3.1.0.zip before_script: - cd opencv-3.1.0 - sudo mkdir build