Use GCC 9 on Travis CI

PiperOrigin-RevId: 249995900
This commit is contained in:
Victor Costan 2019-05-25 14:34:40 -07:00 committed by Victor Costan
parent a3e012d762
commit fe702ad2a3
1 changed files with 4 additions and 4 deletions

View File

@ -36,13 +36,13 @@ addons:
packages:
- clang-8
- cmake
- gcc-8
- g++-8
- gcc-9
- g++-9
- ninja-build
homebrew:
packages:
- cmake
- gcc@8
- gcc@9
- llvm@8
- ninja
update: true
@ -54,7 +54,7 @@ install:
export PATH="$(brew --prefix llvm)/bin:$PATH";
fi
# /usr/bin/gcc points to an older compiler on both Linux and macOS.
- if [ "$CXX" = "g++" ]; then export CXX="g++-8" CC="gcc-8"; fi
- if [ "$CXX" = "g++" ]; then export CXX="g++-9" CC="gcc-9"; fi
# /usr/bin/clang points to an older compiler on both Linux and macOS.
#
# Homebrew's llvm package doesn't ship a versioned clang++ binary, so the values