summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2018-05-30 14:04:08 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-05-30 14:04:08 +0900
commit6105fee3fd7002c7e51932540f723b02885a84e5 (patch)
tree98f5faf2cf09bec42628e115ce321a05c3db1720 /ci
parentMerge branch 'nd/pack-struct-commit' (diff)
parenttravis-ci: run gcc-8 on linux-gcc jobs (diff)
downloadtgif-6105fee3fd7002c7e51932540f723b02885a84e5.tar.xz
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
Diffstat (limited to 'ci')
-rwxr-xr-xci/lib-travisci.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/ci/lib-travisci.sh b/ci/lib-travisci.sh
index 109ef280da..ceecc889ca 100755
--- a/ci/lib-travisci.sh
+++ b/ci/lib-travisci.sh
@@ -99,6 +99,9 @@ export DEFAULT_TEST_TARGET=prove
export GIT_PROVE_OPTS="--timer --jobs 3 --state=failed,slow,save"
export GIT_TEST_OPTS="--verbose-log -x"
export GIT_TEST_CLONE_2GB=YesPlease
+if [ "$jobname" = linux-gcc ]; then
+ export CC=gcc-8
+fi
case "$jobname" in
linux-clang|linux-gcc)