summaryrefslogtreecommitdiff
path: root/.travis/bazel-linux
diff options
context:
space:
mode:
Diffstat (limited to '.travis/bazel-linux')
-rwxr-xr-x.travis/bazel-linux6
1 files changed, 3 insertions, 3 deletions
diff --git a/.travis/bazel-linux b/.travis/bazel-linux
index c63515aa..e009bfb9 100755
--- a/.travis/bazel-linux
+++ b/.travis/bazel-linux
@@ -6,9 +6,9 @@ set -eu
6 6
7travis_install() { 7travis_install() {
8 # Get bazel. 8 # Get bazel.
9 wget https://github.com/bazelbuild/bazel/releases/download/0.19.0/bazel-0.19.0-installer-linux-x86_64.sh 9 wget https://github.com/bazelbuild/bazel/releases/download/2.1.1/bazel-2.1.1-installer-linux-x86_64.sh
10 chmod +x bazel-0.19.0-installer-linux-x86_64.sh 10 chmod +x bazel-2.1.1-installer-linux-x86_64.sh
11 ./bazel-0.19.0-installer-linux-x86_64.sh --user 11 ./bazel-2.1.1-installer-linux-x86_64.sh --user
12 echo 'build --jobs=4 --curses=no --verbose_failures' >> $HOME/.bazelrc 12 echo 'build --jobs=4 --curses=no --verbose_failures' >> $HOME/.bazelrc
13 echo 'build --config=linux' >> $HOME/.bazelrc 13 echo 'build --config=linux' >> $HOME/.bazelrc
14 echo "build --config=$CC" >> $HOME/.bazelrc 14 echo "build --config=$CC" >> $HOME/.bazelrc