aboutsummaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorGennadiy Civil <misterg@google.com>2019-06-17 16:57:54 -0400
committerGennadiy Civil <misterg@google.com>2019-06-17 16:57:54 -0400
commit60b9298653c03728625f51dc4851d4cb986483b3 (patch)
treecaa7e24554b30b64a77c5c2c55b3004593d34ee1 /ci
parentc1a584d3041802681cc137ae84e7a4a1f5e004c7 (diff)
downloadgoogletest-60b9298653c03728625f51dc4851d4cb986483b3.tar.gz
googletest-60b9298653c03728625f51dc4851d4cb986483b3.tar.bz2
googletest-60b9298653c03728625f51dc4851d4cb986483b3.zip
Fixing CI break by going to bazel 0.26.1
Diffstat (limited to 'ci')
-rwxr-xr-xci/install-linux.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/ci/install-linux.sh b/ci/install-linux.sh
index 05e2cb28..a4caf440 100755
--- a/ci/install-linux.sh
+++ b/ci/install-linux.sh
@@ -41,7 +41,10 @@ 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 gcc-4.9 g++-4.9 clang-3.9
+ sudo wget https://github.com/bazelbuild/bazel/releases/download/0.26.1/bazel-0.26.1-installer-linux-x86_64.sh
+ sudo chmod +x bazel-0.26.1-installer-linux-x86_64.sh
+ sudo ./bazel-0.26.1-installer-linux-x86_64.sh
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};