Googletest export

Update Travis CI to use Ubuntu Bionic in some cases

PiperOrigin-RevId: 313639562
This commit is contained in:
dmauro
2020-05-28 15:37:07 -04:00
committed by Derek Mauro
parent fd32ba66e2
commit 859bfe8981
4 changed files with 9 additions and 15 deletions

View File

@@ -41,7 +41,7 @@ if [ "${TRAVIS_SUDO}" = "true" ]; then
echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8" | \
sudo tee /etc/apt/sources.list.d/bazel.list
curl https://bazel.build/bazel-release.pub.gpg | sudo apt-key add -
sudo apt-get update && sudo apt-get install -y bazel gcc-4.9 g++-4.9 clang-3.9
sudo apt-get update && sudo apt-get install -y bazel gcc g++ clang
elif [ "${CXX}" = "clang++" ]; then
# Use ccache, assuming $HOME/bin is in the path, which is true in the Travis build environment.
ln -sf /usr/bin/ccache $HOME/bin/${CXX};