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
This commit is contained in:
Junio C Hamano
2018-05-30 14:04:08 +09:00
2 changed files with 6 additions and 0 deletions

View File

@ -16,10 +16,13 @@ compiler:
addons: addons:
apt: apt:
sources:
- ubuntu-toolchain-r-test
packages: packages:
- language-pack-is - language-pack-is
- git-svn - git-svn
- apache2 - apache2
- gcc-8
matrix: matrix:
include: include:

View File

@ -99,6 +99,9 @@ export DEFAULT_TEST_TARGET=prove
export GIT_PROVE_OPTS="--timer --jobs 3 --state=failed,slow,save" export GIT_PROVE_OPTS="--timer --jobs 3 --state=failed,slow,save"
export GIT_TEST_OPTS="--verbose-log -x" export GIT_TEST_OPTS="--verbose-log -x"
export GIT_TEST_CLONE_2GB=YesPlease export GIT_TEST_CLONE_2GB=YesPlease
if [ "$jobname" = linux-gcc ]; then
export CC=gcc-8
fi
case "$jobname" in case "$jobname" in
linux-clang|linux-gcc) linux-clang|linux-gcc)