blob: 2060babd4a450a0fc318f8b9ee5cb8536d57189c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# Running bazel inside a `docker build` command causes trouble, cf:
# https://github.com/bazelbuild/bazel/issues/134
# The easiest solution is to set up a bazelrc file forcing --batch.
startup --batch
# Similarly, we need to workaround sandboxing issues:
# https://github.com/bazelbuild/bazel/issues/418
build --verbose_failures --spawn_strategy=standalone --genrule_strategy=standalone
test --spawn_strategy=standalone
# Force bazel output to use colors (good for jenkins) and print useful errors.
common --color=yes
# Configure tests - increase timeout, print errors and timeout warnings
test --verbose_failures --test_output=errors --test_verbose_timeout_warnings
|