Skip to content

Commit

Permalink
Merge branch 'sg/osx-force-gcc-9'
Browse files Browse the repository at this point in the history
TravisCI update.

* sg/osx-force-gcc-9:
  ci: build Git with GCC 9 in the 'osx-gcc' build job
  • Loading branch information
gitster committed Dec 6, 2019
2 parents 083378c + 176441b commit ef3ce7c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 4 additions & 2 deletions ci/install-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
;;
Expand Down
3 changes: 1 addition & 2 deletions ci/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ef3ce7c

Please sign in to comment.