forked from stripe-archive/rules_scala
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bazelrc.travis
25 lines (20 loc) · 1.01 KB
/
.bazelrc.travis
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
# This is from Bazel's former travis setup, to avoid blowing up the RAM usage.
startup --host_jvm_args=-Xmx2500m
startup --host_jvm_args=-Xms2500m
# startup --batch # we actually start many bazels in the test script, we don't want batch
test --ram_utilization_factor=10
# Just making sure that we don't OOM with parallel builds
build --local_resources 2048,.5,1.0
# This is so we understand failures better
build --verbose_failures
# This is so we use a recent enough GCC when building.
# build --crosstool_top //tools/custom_crosstool:CROSSTOOL
# This is so we don't use sandboxed execution. Sandboxed execution
# runs stuff in a container, and since Travis already runs its script
# in a container (unless you require sudo in your .travis.yml) this
# fails to run tests.
build --strategy=Scalac=worker --strategy=ScroogeRule=worker --worker_max_instances=3
#test --test_strategy=standalone
# Below this line, .travis.yml will cat the default bazelrc.
# This is needed so Bazel starts with the base workspace in its
# package path.