More travis experiments.
This commit is contained in:
parent
421252ad63
commit
b3af64c20c
1 changed files with 22 additions and 22 deletions
44
.travis.yml
44
.travis.yml
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue