Skip to content

Commit

Permalink
.travis.yml: test for newer toolchain versions (may break)
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Arnold <[email protected]>
  • Loading branch information
sarnold committed Oct 4, 2020
1 parent 8d3f847 commit d1960fb
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,34 @@
language: cpp
os: linux
dist: xenial

matrix:
include:
# works on Precise and Trusty
- os: linux
- env: MATRIX_EVAL="CC=gcc-9 && CXX=g++-9 && CCC=g++-9"
os: linux
dist: focal
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
- g++-9
- doxygen
- graphviz
env:
- MATRIX_EVAL="CC=gcc-6 && CXX=g++-6 && CCC=g++-6"
compiler: gcc

# works on Precise and Trusty
- os: linux
- env: MATRIX_EVAL="CC=gcc-10 && CXX=g++-10 && CCC=g++-10"
os: linux
dist: focal
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
- g++-10
- doxygen
- graphviz
env:
- MATRIX_EVAL="CC=gcc-7 && CXX=g++-7 && CCC=g++-7"
compiler: gcc

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

0 comments on commit d1960fb

Please sign in to comment.