2018-03-06 22:33:18 +00:00
|
|
|
startup --expand_configs_in_place
|
|
|
|
|
2018-01-09 18:57:14 +00:00
|
|
|
# Show us information about failures.
|
|
|
|
build --verbose_failures
|
|
|
|
test --test_output=errors
|
|
|
|
|
|
|
|
# Include git version info
|
|
|
|
build --workspace_status_command hack/print-workspace-status.sh
|
|
|
|
|
|
|
|
# Make /tmp hermetic
|
|
|
|
build --sandbox_tmpfs_path=/tmp
|
|
|
|
|
|
|
|
# Ensure that Bazel never runs as root, which can cause unit tests to fail.
|
|
|
|
# This flag requires Bazel 0.5.0+
|
|
|
|
build --sandbox_fake_username
|
|
|
|
|
|
|
|
# Enable go race detection.
|
2018-03-06 22:33:18 +00:00
|
|
|
test:unit --features=race
|
|
|
|
test:unit --test_tag_filters=-e2e,-integration
|
|
|
|
test:unit --flaky_test_attempts=3
|
|
|
|
|
|
|
|
test:integration --local_test_jobs 4
|
|
|
|
test:integration --test_tag_filters=integration
|