Skip to content

Commit 6105fee

Browse files
committed
Merge branch 'nd/travis-gcc-8'
Developer support. Use newer GCC on one of the builds done at TravisCI.org to get more warnings and errors diagnosed. * nd/travis-gcc-8: travis-ci: run gcc-8 on linux-gcc jobs
2 parents a4eae17 + 37fa4b3 commit 6105fee

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,13 @@ compiler:
1616

1717
addons:
1818
apt:
19+
sources:
20+
- ubuntu-toolchain-r-test
1921
packages:
2022
- language-pack-is
2123
- git-svn
2224
- apache2
25+
- gcc-8
2326

2427
matrix:
2528
include:

ci/lib-travisci.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@ export DEFAULT_TEST_TARGET=prove
9999
export GIT_PROVE_OPTS="--timer --jobs 3 --state=failed,slow,save"
100100
export GIT_TEST_OPTS="--verbose-log -x"
101101
export GIT_TEST_CLONE_2GB=YesPlease
102+
if [ "$jobname" = linux-gcc ]; then
103+
export CC=gcc-8
104+
fi
102105

103106
case "$jobname" in
104107
linux-clang|linux-gcc)

0 commit comments

Comments
 (0)