better-enums/.travis.yml
Anton Bachin ecdc88f066 Fix Travis build
It seems that the g++4.5 package has been obsoleted:

  https://travis-ci.org/aantron/better-enums/jobs/271125909#L492

There also seems to be some kind of upstream problem with clang++3.5
when building in C++14 mode:

  https://travis-ci.org/aantron/better-enums/jobs/271125912#L1349

To unblock development, this commit removes the g++4.5 build, and allows
the clang++3.5 build to fail for now.

[skip appveyor]
2017-09-14 13:35:28 -05:00

38 lines
1.2 KiB
YAML

language: cpp
env:
- COMPILER="clang++-3.7"
- COMPILER="g++-5"
- COMPILER="g++-4.6"
- COMPILER="g++-4.7"
- COMPILER="g++-4.4"
- COMPILER="g++-4.8"
- COMPILER="g++-4.9"
- COMPILER="clang++-3.3"
- COMPILER="clang++-3.4"
- COMPILER="clang++-3.5"
- COMPILER="clang++-3.6"
matrix:
allow_failures:
- env: COMPILER="clang++-3.5"
before_script:
- sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
- sudo add-apt-repository --yes ppa:h-rayflood/llvm
- sudo add-apt-repository -y 'deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.5 main'
- sudo add-apt-repository -y 'deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.6 main'
- sudo add-apt-repository -y 'deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.7 main'
- sudo apt-get update -qq
- sudo apt-get install --allow-unauthenticated $COMPILER
- git clone https://github.com/CxxTest/cxxtest.git cxxtest-ro
- curl -O https://cmake.org/files/v3.2/cmake-3.2.3-Linux-x86_64.tar.gz
- tar -xzf cmake-3.2.3-Linux-x86_64.tar.gz
- sudo cp -fR cmake-3.2.3-Linux-x86_64/* /usr
script:
- export PATH="$PATH:$(pwd)/cxxtest-ro/bin"
- ln -s cxxtest-ro/cxxtest cxxtest
- cd test
- make COMPILER=$COMPILER unix