travis-ci: run gcc-8 on linux-gcc jobs
Switch from gcc-4.8 to gcc-8. Newer compilers come with more warning checks (usually in -Wextra). Since -Wextra is enabled in developer mode (which is also enabled in travis), this lets travis report more warnings before other people do it. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
ccdcbd54c4
commit
37fa4b3c78
@ -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:
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user