summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2019-12-06 15:09:21 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-12-06 15:09:21 -0800
commitef3ce7c4b9f5ed7a13a0efcc576df855c4fd3d0f (patch)
tree5f8fdcea1a22c49f7cf18a9dd33f87b9a82afadb
parentThe third batch (diff)
parentci: build Git with GCC 9 in the 'osx-gcc' build job (diff)
downloadtgif-ef3ce7c4b9f5ed7a13a0efcc576df855c4fd3d0f.tar.xz
Merge branch 'sg/osx-force-gcc-9'
TravisCI update. * sg/osx-force-gcc-9: ci: build Git with GCC 9 in the 'osx-gcc' build job
-rwxr-xr-xci/install-dependencies.sh6
-rwxr-xr-xci/lib.sh3
2 files changed, 5 insertions, 4 deletions
diff --git a/ci/install-dependencies.sh b/ci/install-dependencies.sh
index b6b4f4707f..cd59855d73 100755
--- a/ci/install-dependencies.sh
+++ b/ci/install-dependencies.sh
@@ -49,8 +49,10 @@ osx-clang|osx-gcc)
brew install caskroom/cask/perforce
case "$jobname" in
osx-gcc)
- brew link gcc ||
- brew link gcc@8
+ brew install gcc@9
+ # Just in case the image is updated to contain gcc@9
+ # pre-installed but not linked.
+ brew link gcc@9
;;
esac
;;
diff --git a/ci/lib.sh b/ci/lib.sh
index 5fca0438b5..a90d0dc0fd 100755
--- a/ci/lib.sh
+++ b/ci/lib.sh
@@ -131,7 +131,6 @@ then
echo "$SYSTEM_TASKDEFINITIONSURI$SYSTEM_TEAMPROJECT/_build/results?buildId=$1"
}
- BREW_INSTALL_PACKAGES=gcc@8
export GIT_PROVE_OPTS="--timer --jobs 10 --state=failed,slow,save"
export GIT_TEST_OPTS="--verbose-log -x --write-junit-xml"
MAKEFLAGS="$MAKEFLAGS --jobs=10"
@@ -182,7 +181,7 @@ linux-clang|linux-gcc)
osx-clang|osx-gcc)
if [ "$jobname" = osx-gcc ]
then
- export CC=gcc-8
+ export CC=gcc-9
fi
# t9810 occasionally fails on Travis CI OS X