From abc10118d51ed5bdc678356ebcfd899ae59a696a Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Mon, 22 Jul 2019 23:25:46 +0200 Subject: [PATCH] Travis CI: Use Clang 9 on Linux --- .travis.sh | 2 ++ .travis.yml | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/.travis.sh b/.travis.sh index a76e317f..d91e7215 100755 --- a/.travis.sh +++ b/.travis.sh @@ -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='# ' diff --git a/.travis.yml b/.travis.yml index 877f00e2..618d1d05 100644 --- a/.travis.yml +++ b/.travis.yml @@ -41,7 +41,11 @@ addons: update: true brewfile: true apt: + sources: + - llvm-toolchain-trusty + - ubuntu-toolchain-r-test packages: + - clang-9 - cmake - docbook2x - dos2unix