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 language: cpp
compiler: matrix:
- clang include:
- gcc - compiler: gcc
addons:
branches: apt:
only: sources:
- master - 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: script:
- make - mkdir build
- make clean - cd build
- cmake -DCMAKE_CXX_COMPILER=$COMPILER .. && make
before_deploy:
deploy:
after_deploy:
Loading…
Cancel
Save