mirror of
https://github.com/aantron/better-enums.git
synced 2025-12-06 08:46:42 +08:00
Also reordered compilers so that the very first tested are the ones that support the most configurations, then immediately followed by those which are the most likely to fail. Typically, this would be the oldest ones, or the compiler versions that were the first to support some major features.
33 lines
1.2 KiB
YAML
33 lines
1.2 KiB
YAML
language: cpp
|
|
|
|
env:
|
|
- COMPILER="clang++-3.6" PACKAGE="clang-3.6"
|
|
- COMPILER="g++-5" PACKAGE="g++-5"
|
|
- COMPILER="g++-4.6" PACKAGE="g++-4.6"
|
|
- COMPILER="g++-4.7" PACKAGE="g++-4.7"
|
|
- COMPILER="g++-4.4" PACKAGE="g++-4.4"
|
|
- COMPILER="g++-4.8" PACKAGE="g++-4.8"
|
|
- COMPILER="g++-4.9" PACKAGE="g++-4.9"
|
|
- COMPILER="g++-4.5" PACKAGE="g++-4.5"
|
|
- COMPILER="clang++-3.3" PACKAGE="clang-3.3"
|
|
- COMPILER="clang++-3.4" PACKAGE="clang-3.4"
|
|
- COMPILER="clang++-3.5" PACKAGE="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 apt-get update -qq
|
|
- sudo apt-get install --allow-unauthenticated $COMPILER
|
|
- git clone https://github.com/CxxTest/cxxtest.git cxxtest-ro
|
|
- wget http://www.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
|