travis: Also build test with LLVM/Clang 4.0

Currently, Clang 4.0 is only available in the Trusty distribution [1].

[1] https://github.com/travis-ci/apt-source-whitelist/issues/360
This commit is contained in:
Paul Menzel 2017-08-21 10:40:59 +02:00
parent 1d3cf99457
commit f5c52c15e3

View File

@ -91,6 +91,15 @@ matrix:
### ###
## clang on Linux ## clang on Linux
### ###
- os: linux
env: BUILD_SYSTEM=cmake C_COMPILER=clang-4.0 CXX_COMPILER=clang++-4.0
addons:
apt:
sources:
- llvm-toolchain-trusty-4.0
- ubuntu-toolchain-r-test
packages:
- clang-4.0
- os: linux - os: linux
env: BUILD_SYSTEM=cmake C_COMPILER=clang-3.8 CXX_COMPILER=clang++-3.8 env: BUILD_SYSTEM=cmake C_COMPILER=clang-3.8 CXX_COMPILER=clang++-3.8
addons: addons: