bazel 0.26.1

This commit is contained in:
Gennadiy Civil 2019-06-17 15:30:16 -04:00
parent 1e5ad17e97
commit 4b6a3cc6cb

View File

@ -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};