Skip to content

Commit

Permalink
travis: Add clang-9 to test matrix
Browse files Browse the repository at this point in the history
Add clang-9 to the versions of clang to test in our travis builds.

Travis-CI hasn't defined a shorthand alias for llvm-toolchain-xenial-9
yet (see travis-ci/apt-source-safelist#414), add
it in manually.
  • Loading branch information
arthurfabre committed Apr 28, 2020
1 parent 85f42b9 commit 4f7685e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,20 @@ env:
- CLANG=/usr/bin/clang-6.0
- CLANG=/usr/bin/clang-7
- CLANG=/usr/bin/clang-8
- CLANG=/usr/bin/clang-9

addons:
apt:
sources:
- llvm-toolchain-xenial-7
- llvm-toolchain-xenial-8
- sourceline: 'deb https://apt.llvm.org/xenial/ llvm-toolchain-xenial-9 main'
key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key'
packages:
- clang-6.0
- clang-7
- clang-8
- clang-9

script:
# gofmt doesn't report any changes
Expand Down

0 comments on commit 4f7685e

Please sign in to comment.