Upgrade bazel to 0.19.0 to fix the bazel build.

This commit is contained in:
iphydf 2018-11-22 21:51:40 +00:00
parent d89f83f8b5
commit 60cd08e774
No known key found for this signature in database
GPG Key ID: 3855DBA2D74403C9

View File

@ -6,9 +6,9 @@ set -eu
travis_install() {
# Get bazel.
wget https://github.com/bazelbuild/bazel/releases/download/0.17.1/bazel-0.17.1-installer-linux-x86_64.sh
chmod +x bazel-0.17.1-installer-linux-x86_64.sh
./bazel-0.17.1-installer-linux-x86_64.sh --user
wget https://github.com/bazelbuild/bazel/releases/download/0.19.0/bazel-0.19.0-installer-linux-x86_64.sh
chmod +x bazel-0.19.0-installer-linux-x86_64.sh
./bazel-0.19.0-installer-linux-x86_64.sh --user
echo 'build --jobs=4 --curses=no --verbose_failures' >> $HOME/.bazelrc
echo 'build --config=linux' >> $HOME/.bazelrc
echo "build --config=$CC" >> $HOME/.bazelrc