forked from bazel-contrib/bazel-gazelle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (29 loc) · 795 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# trusty beta image has jdk8, gcc4.8.4
dist: trusty
sudo: required
# Not technically required but suppresses 'Ruby' in Job status message.
language: java
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- wget
- pkg-config
before_install:
- |
wget https://github.com/bazelbuild/bazel/releases/download/0.23.0/bazel_0.23.0-linux-x86_64.deb
sha256sum -c <<<'6d3f5a2eae9021671a967c362513eaaae979b76e9c725359cb75ee149a92817e bazel_0.23.0-linux-x86_64.deb'
sudo dpkg -i bazel_0.23.0-linux-x86_64.deb
script:
- |
bazel \
--output_base=$HOME/.cache/bazel \
--host_jvm_args=-Xmx500m \
--host_jvm_args=-Xms500m \
test \
--config=ci \
--local_resources=400,1,1.0 \
//...
notifications:
email: false