update travis config

master
Dominic Reich 7 years ago
parent 430d3dc2cc
commit 1a6e8de54e

@ -1,22 +1,49 @@
sudo: false
# Use new trusty images, should yield newer compilers and packages
sudo: required
dist: precise
language: cpp
compiler:
- clang
- gcc
branches:
only:
- master
matrix:
include:
- compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.9
env: COMPILER=g++-4.9
- compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
env: COMPILER=g++-5
- compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.6
packages:
- clang-3.6
env: COMPILER=clang++-3.6
- compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.7
packages:
- clang-3.7
env: COMPILER=clang++-3.7
before_install:
- sudo apt-get update -qq
#- sudo apt-get install -y libopencv-dev
script:
- make
- make clean
before_deploy:
deploy:
after_deploy:
- mkdir build
- cd build
- cmake -DCMAKE_CXX_COMPILER=$COMPILER .. && make
Loading…
Cancel
Save