Update Travis CI config.

PiperOrigin-RevId: 347397797
This commit is contained in:
Victor Costan
2020-12-14 09:10:05 -08:00
committed by Chris Mumford
parent 8995ffabb9
commit 49540965a3

View File

@@ -4,7 +4,7 @@
language: cpp language: cpp
dist: bionic dist: bionic
osx_image: xcode11.3 osx_image: xcode12.2
compiler: compiler:
- gcc - gcc
@@ -41,13 +41,13 @@ addons:
packages: packages:
- clang-10 - clang-10
- cmake - cmake
- gcc-9 - gcc-10
- g++-9 - g++-10
- ninja-build - ninja-build
homebrew: homebrew:
packages: packages:
- cmake - cmake
- gcc@9 - gcc@10
- llvm@10 - llvm@10
- ninja - ninja
update: true update: true
@@ -65,7 +65,7 @@ install:
export FUZZING=0; export FUZZING=0;
fi fi
# /usr/bin/gcc points to an older compiler on both Linux and macOS. # /usr/bin/gcc points to an older compiler on both Linux and macOS.
- if [ "$CXX" = "g++" ]; then export CXX="g++-9" CC="gcc-9"; fi - if [ "$CXX" = "g++" ]; then export CXX="g++-10" CC="gcc-10"; fi
# /usr/bin/clang points to an older compiler on both Linux and macOS. # /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 # Homebrew's llvm package doesn't ship a versioned clang++ binary, so the values