mirror of
https://github.com/aantron/better-enums.git
synced 2025-12-06 16:56:42 +08:00
Until recently, CMake reported VS2015 as not supporting constexpr. However, constexpr support was added in the VS2015 release, and CMake now reports accordingly. The constexpr support in VS2015 is too buggy to build Better Enums. This change disables testing on VS2015 with constexpr support, because those tests will fail. Also adapted to a change in the Cygwin path prefix in AppVeyor and fixed an issue in the Travis build with wget being unable to retrieve from www.cmake.org's new redirect to cmake.org.
35 lines
1.2 KiB
YAML
35 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="g++-4.5"
|
|
- COMPILER="clang++-3.3"
|
|
- COMPILER="clang++-3.4"
|
|
- COMPILER="clang++-3.5"
|
|
- COMPILER="clang++-3.6"
|
|
|
|
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
|