forked from SeleniumHQ/selenium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bazelrc
33 lines (25 loc) · 1.08 KB
/
.bazelrc
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
try-import .bazelrc.local
# Set the default java toolchain
build --java_toolchain=@bazel_tools//tools/jdk:toolchain_java11
# We target java 8 by default
build --javacopt="-source 8"
build --javacopt="-target 8"
# Require java dependencies to be used and first-order
build --strict_java_deps=strict
build --explicit_java_test_deps
build --workspace_status_command=scripts/build-info.py
# Make sure we get something helpful when tests fail
build --verbose_failures
build --test_output=errors
# Tests need to be able to open sockets on localhost
build --noexperimental_sandbox_default_allow_network
# Turn on the "Managed Directories" feature.
# This allows Bazel to share the same node_modules directory with other tools
# See https://docs.bazel.build/versions/master/command-line-reference.html#flag--experimental_allow_incremental_repository_updates
common --experimental_allow_incremental_repository_updates
# pass environment variables to the test environment
build --test_env=TRAVIS
build --test_env=DISPLAY
build --test_env=MOZ_HEADLESS
build --test_env=DASHBOARD_URL
build --test_env=LOCALAPPDATA