From 7e16706f7be6026c75d9ac6a9efde3a9bfa05e10 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Fri, 6 Aug 2021 07:48:26 +0200 Subject: [PATCH] CI: fix the GCC 9 build --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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