This commit is contained in:
Holger Nahrstaedt 2016-03-09 21:33:57 +01:00
parent e4a4d1a17d
commit 47b28c620d

View File

@ -4,23 +4,23 @@ os:
- linux - linux
- osx - osx
env: compiler:
- LANG=cpp-clang - gcc
- LANG=cpp-gcc - clang
addons: addons:
apt: apt:
sources: sources:
- boost-latest - boost-latest
- ubuntu-toolchain-r-test - ubuntu-toolchain-r-test
packages: packages:
- g++-4.8
- libboost1.55-all-dev - libboost1.55-all-dev
matrix:
allow_failures:
- compiler: clang
before_install: before_install:
# select C++ compiler
- export CXX="clang++" CC="clang"
- if [[ $LANG == *gcc ]]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
# linux prereqisite packages # linux prereqisite packages
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then wget --no-check-certificate https://www.cmake.org/files/v3.2/cmake-3.2.3-Linux-x86_64.tar.gz; fi - if [ "$TRAVIS_OS_NAME" == "linux" ]; then wget --no-check-certificate https://www.cmake.org/files/v3.2/cmake-3.2.3-Linux-x86_64.tar.gz; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then tar -xzvf cmake-3.2.3-Linux-x86_64.tar.gz; fi - if [ "$TRAVIS_OS_NAME" == "linux" ]; then tar -xzvf cmake-3.2.3-Linux-x86_64.tar.gz; fi