Another attempt at travis C++11

This commit is contained in:
Tadas Baltrusaitis 2016-07-26 13:12:07 -04:00
parent 1db7c20bc5
commit 0a8fe23eea

View file

@ -13,17 +13,6 @@ compiler:
os:
- linux
# Install packages differs for container-based infrastructure
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- cmake
# https://github.com/travis-ci-tester/travis-test-gcc-cxx-11
- g++-4.9
before_install:
- sudo apt-get update
- sudo apt-get install build-essential
@ -43,6 +32,43 @@ before_script:
- sudo make -j4 install
- cd ../..
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
script:
- mkdir build
- cd build