Permalink
Browse files

Update to clang 5.0 on Travis tests

  • Loading branch information...
mfherbst committed Nov 27, 2017
1 parent a3330e9 commit 53f5d0c4a92bde0a9fb303686e0a8a46eaa9539c
Showing with 12 additions and 10 deletions.
  1. +12 −10 .travis.yml
@@ -44,7 +44,7 @@ addons:
apt:
sources:
- ubuntu-toolchain-r-test # libstdc++-4.9-dev (gcc 4.8's libstdc++ is buggy)
- llvm-toolchain-trusty-4.0 # clang-4.0
- llvm-toolchain-trusty-5.0 # clang-5.0
packages:
- python3-pip
- ninja-build
@@ -69,37 +69,39 @@ matrix:
compiler: clang
env: CC_COMP="clang" CXX_COMP="clang++"
#
# Clang 4.0 (has c++14) with libc++-1
# Clang 5.0 (has c++17) with libc++-1
# Note that c++17 is disabled due to cmake < 3.8 where c++17 is not yet ready
- install:
- travis_retry sudo apt-get install -y clang-4.0 libc++-dev
- export GCOV="llvm-cov-4.0 gcov"
- travis_retry sudo apt-get install -y clang-5.0 libc++-dev
- export GCOV="llvm-cov-5.0 gcov"
compiler: clang
env: CC_COMP="clang-4.0" CXX_COMP="clang++-4.0"
env: CC_COMP="clang-5.0" CXX_COMP="clang++-5.0"
#
# gcc-4.8 (c++11 and without tests, since rapidcheck does not compile like this)
- install:
- export TESTS=0 EXTRA_OPTS="-DLAZYTEN_ENABLE_TESTS=OFF"
compiler: gcc
env: CC_COMP="gcc" CXX_COMP="g++"
#
# gcc-7 (with tests and c++14)
# gcc-7 (with tests and c++17)
# Note that c++17 is disabled due to cmake < 3.8 where c++17 is not yet ready
- install:
- travis_retry sudo apt-get install -y g++-7
- export GCOV="gcov-7"
compiler: gcc
env: CC_COMP="gcc-7" CXX_COMP="g++-7"
#
# Clang-tidy 4.0
# Clang-tidy 5.0
- install:
- travis_retry sudo apt-get install -y clang-4.0 libc++-dev clang-tidy-4.0
- travis_retry sudo apt-get install -y clang-5.0 libc++-dev clang-tidy-5.0
# Install yaml for the python scripts generated by SetupClangTargets.cmake
- travis_retry pip3 install --user pyyaml
- export BUILD_TARGET="clang-tidy-lazyten"
- export TESTS=0
compiler: clang
env: CC_COMP="clang-4.0" CXX_COMP="clang++-4.0" BUILD_TARGET="clang-tidy-lazyten"
env: CC_COMP="clang-5.0" CXX_COMP="clang++-5.0" BUILD_TARGET="clang-tidy-lazyten"
allow_failures:
- env: CC_COMP="clang-4.0" CXX_COMP="clang++-4.0" BUILD_TARGET="clang-tidy-lazyten"
- env: CC_COMP="clang-5.0" CXX_COMP="clang++-5.0" BUILD_TARGET="clang-tidy-lazyten"
script:
- cmake --version

0 comments on commit 53f5d0c

Please sign in to comment.