summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xci/install-dependencies.sh5
-rwxr-xr-xci/lib.sh3
2 files changed, 5 insertions, 3 deletions
diff --git a/ci/install-dependencies.sh b/ci/install-dependencies.sh
index 8cc72503cb..814e16f094 100755
--- a/ci/install-dependencies.sh
+++ b/ci/install-dependencies.sh
@@ -43,7 +43,10 @@ osx-clang|osx-gcc)
brew install caskroom/cask/perforce
case "$jobname" in
osx-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 44db2d5cbb..bbaaa2934e 100755
--- a/ci/lib.sh
+++ b/ci/lib.sh
@@ -126,7 +126,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"
@@ -177,7 +176,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