Travis CI: Use Clang 9 on Linux

This commit is contained in:
Sebastian Pipping 2019-07-22 23:25:46 +02:00
parent 99cc61c438
commit abc10118d5
2 changed files with 6 additions and 0 deletions

View File

@ -32,6 +32,8 @@ set -e
if [[ ${TRAVIS_OS_NAME} = osx ]]; then
export PATH="/usr/local/opt/coreutils/libexec/gnubin${PATH:+:}${PATH}"
elif [[ ${TRAVIS_OS_NAME} = linux ]]; then
export PATH="/usr/lib/llvm-9/bin:${PATH}"
fi
PS4='# '

View File

@ -41,7 +41,11 @@ addons:
update: true
brewfile: true
apt:
sources:
- llvm-toolchain-trusty
- ubuntu-toolchain-r-test
packages:
- clang-9
- cmake
- docbook2x
- dos2unix