Skip to content

Commit

Permalink
Update bazel used in CI; remove deprecated --batch (bazel-contrib#281)
Browse files Browse the repository at this point in the history
  • Loading branch information
ash2k authored and jayconrod committed Aug 3, 2018
1 parent 9a3c94e commit 376398a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,14 @@ addons:

before_install:
- |
wget https://github.com/bazelbuild/bazel/releases/download/0.8.0/bazel_0.8.0-linux-x86_64.deb
sha256sum -c <<<'4881f4f2a48d7c841c02788f460104534b6e9b6f44f4593844234a5765240fab bazel_0.8.0-linux-x86_64.deb'
sudo dpkg -i bazel_0.8.0-linux-x86_64.deb
wget https://github.com/bazelbuild/bazel/releases/download/0.16.0/bazel_0.16.0-linux-x86_64.deb
sha256sum -c <<<'1720273534173474796c9d7d8213c360bedf664d43dd844198690b4c78c485eb bazel_0.16.0-linux-x86_64.deb'
sudo dpkg -i bazel_0.16.0-linux-x86_64.deb
script:
- |
bazel \
--output_base=$HOME/.cache/bazel \
--batch \
--host_jvm_args=-Xmx500m \
--host_jvm_args=-Xms500m \
test \
Expand Down

0 comments on commit 376398a

Please sign in to comment.