another test for travis

This commit is contained in:
Dominic Reich 2017-08-16 01:10:36 +02:00
parent 1a6e8de54e
commit 26744f5c4e

View file

@ -1,49 +1,34 @@
# Use new trusty images, should yield newer compilers and packages # Ubuntu 14.04 Trusty support
sudo: required sudo: required
dist: precise dist: trusty
language: cpp language: cpp
matrix: addons:
include:
- compiler: gcc
addons:
apt: apt:
sources: sources:
# add PPAs with more up-to-date toolchains
- ubuntu-toolchain-r-test - ubuntu-toolchain-r-test
packages: packages:
- g++-4.9 # install toolchains
env: COMPILER=g++-4.9 - g++-4.8
- compiler: gcc #- clang-3.6
addons:
apt: compiler:
sources: #- clang
- ubuntu-toolchain-r-test - gcc
packages:
- g++-5 branches:
env: COMPILER=g++-5 only:
- compiler: clang - master
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:
- mkdir build - make
- cd build - make clean
- cmake -DCMAKE_CXX_COMPILER=$COMPILER .. && make
before_deploy:
deploy:
after_deploy: