aboutsummaryrefslogtreecommitdiffstats
path: root/ci/install-linux.sh
diff options
context:
space:
mode:
authorGennadiy Civil <misterg@google.com>2019-06-17 15:30:16 -0400
committerGennadiy Civil <misterg@google.com>2019-06-17 15:30:16 -0400
commit4b6a3cc6cb8e0cf8c2f85d21a5056de47495e8d7 (patch)
tree4aa233d5b398f575f0719ae0f6b4a0896ea46eae /ci/install-linux.sh
parent1e5ad17e9751f9181670d55f76d6a78df8f073d7 (diff)
downloadgoogletest-4b6a3cc6cb8e0cf8c2f85d21a5056de47495e8d7.tar.gz
googletest-4b6a3cc6cb8e0cf8c2f85d21a5056de47495e8d7.tar.bz2
googletest-4b6a3cc6cb8e0cf8c2f85d21a5056de47495e8d7.zip
bazel 0.26.1
Diffstat (limited to 'ci/install-linux.sh')
-rwxr-xr-xci/install-linux.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/ci/install-linux.sh b/ci/install-linux.sh
index 7dcd0bd7..b1da9a50 100755
--- a/ci/install-linux.sh
+++ b/ci/install-linux.sh
@@ -42,8 +42,11 @@ if [ "${TRAVIS_SUDO}" = "true" ]; then
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 gcc-4.9 g++-4.9 clang-3.9
- sudo apt-get install bazel-0.26.1
-elif [ "${CXX}" = "clang++" ]; then
+ wget https://github.com/bazelbuild/bazel/releases/download/0.26.1/bazel-0.26.1-installer-linux-x86_64.sh
+ chmod +x bazel-0.26.1-installer-linux-x86_64.sh
+ ./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};
ln -sf /usr/bin/ccache $HOME/bin/${CC};