Skip to content

Commit

Permalink
Add gcc-9 and clang-9 to Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
esabol committed Jan 12, 2020
1 parent daab15f commit 9f0c3a7
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,18 @@ matrix:
artifacts: true
env:
- MATRIX_EVAL="CC=clang-8 && CXX=clang++-8"
- compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- sourceline: 'deb https://apt.llvm.org/xenial/ llvm-toolchain-xenial-9 main'
key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key'
packages:
- clang-9
artifacts: true
env:
- MATRIX_EVAL="CC=clang-9 && CXX=clang++-9"
- compiler: gcc
dist: trusty
addons:
Expand Down Expand Up @@ -124,6 +136,19 @@ matrix:
artifacts: true
env:
- MATRIX_EVAL="CC=gcc-8 && CXX=g++-8"
- compiler: gcc
dist: bionic
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- sourceline: ppa:ubuntu-toolchain-r/test
packages:
- gcc-9
- g++-9
artifacts: true
env:
- MATRIX_EVAL="CC=gcc-9 && CXX=g++-9"

before_install:
- eval "${MATRIX_EVAL}"
Expand Down

0 comments on commit 9f0c3a7

Please sign in to comment.