Skip to content

Commit

Permalink
Add Travis-CI jobs for gcc-9 and gcc-10
Browse files Browse the repository at this point in the history
Also use newer Ubuntu Bionic in tests with modern compilers. gcc-10 is not
available on the older Ubuntu version. On the other hand, revert to the older
Ubuntu Xenial for tests with gcc-4.9 and gcc-5.
  • Loading branch information
filbranden authored and andikleen committed Sep 12, 2020
1 parent 600ec8f commit 1158b57
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
dist: bionic
language: c

env:
Expand All @@ -6,6 +7,22 @@ env:

matrix:
include:
- name: "gcc 10"
env: MATRIX_ENV="CC=gcc-10 CXX=g++-10"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-10
- name: "gcc 9"
env: MATRIX_ENV="CC=gcc-9 CXX=g++-9"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-9
- name: "gcc 8"
env: MATRIX_ENV="CC=gcc-8 CXX=g++-8"
addons:
Expand All @@ -31,6 +48,7 @@ matrix:
packages:
- gcc-6
- name: "gcc 5"
dist: xenial
env: MATRIX_ENV="CC=gcc-5 CXX=g++-5"
addons:
apt:
Expand All @@ -39,6 +57,7 @@ matrix:
packages:
- gcc-5
- name: "gcc 4.9"
dist: xenial
env: MATRIX_ENV="CC=gcc-4.9 CXX=g++-4.9"
addons:
apt:
Expand Down

0 comments on commit 1158b57

Please sign in to comment.