summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2021-08-06 07:48:26 +0200
committerAkim Demaille <akim.demaille@gmail.com>2021-08-06 18:01:15 +0200
commit7e16706f7be6026c75d9ac6a9efde3a9bfa05e10 (patch)
treebc9bb66dcd4f908098b8ab0e7a67b70ad02fd412 /.travis.yml
parentb7d2b854be147053103b277c586cbdc35ad896ac (diff)
downloadbison-7e16706f7be6026c75d9ac6a9efde3a9bfa05e10.tar.gz
CI: fix the GCC 9 build
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 938dce2e..a2826788 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -207,6 +207,9 @@ jobs:
dist: bionic
addons:
apt:
+ sources:
+ # See https://github.com/travis-ci/apt-source-safelist/issues/410.
+ - sourceline: 'ppa:ubuntu-toolchain-r/test'
packages: g++-9
env:
- CC=gcc-9
@@ -313,7 +316,7 @@ jobs:
## Clang. ##
## ------- ##
- - name: "Clang 10 -O3 and libc++"
+ - name: "Clang 10 -O3, libc++, part 1"
stage: check
os: linux
dist: bionic
@@ -332,6 +335,7 @@ jobs:
- CC='clang-10'
- CXX='clang++-10 -stdlib=libc++'
- CONFIGUREFLAGS='CPPFLAGS=-DNDEBUG CFLAGS=-O3 CXXFLAGS=-O3'
+ - PART=1
- name: "Clang 9 and libc++"
stage: check