More travis experiments.

This commit is contained in:
Tadas Baltrusaitis 2016-07-27 14:46:33 -04:00
parent 421252ad63
commit b3af64c20c

View file

@ -1,3 +1,6 @@
# Use new trusty images, should yield newer compilers and packages
sudo: required
dist: precise
language: cpp language: cpp
branches: branches:
@ -6,28 +9,6 @@ branches:
- develop - develop
- feature-travis - feature-travis
os:
- linux
before_install:
- sudo apt-get update
- sudo apt-get install build-essential
install:
- 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
- sudo apt-get install libboost-all-dev
before_script:
- git clone https://github.com/Itseez/opencv.git
- cd opencv
- mkdir build
- cd build
- cmake ..
- make -j4
- sudo make -j4 install
- cd ../..
matrix: matrix:
include: include:
- compiler: gcc - compiler: gcc
@ -48,6 +29,25 @@ matrix:
- clang-3.7 - clang-3.7
env: COMPILER=clang++-3.7 env: COMPILER=clang++-3.7
before_install:
- sudo apt-get update
- sudo apt-get install build-essential
install:
- 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
- sudo apt-get install libboost-all-dev
before_script:
- git clone https://github.com/Itseez/opencv.git
- cd opencv
- mkdir build
- cd build
- cmake ..
- make -j4
- sudo make -j4 install
- cd ../..
script: script:
- mkdir build - mkdir build
- cd build - cd build