Add nocheck_visibility flag for tests
Also add xcode_version to the Bazel rc.
PiperOrigin-RevId: 241541269
diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml
index c6c47bb..e0946ea 100644
--- a/.bazelci/presubmit.yml
+++ b/.bazelci/presubmit.yml
@@ -3,5 +3,7 @@
macos:
build_targets:
- "//:tulsi"
+ test_flags:
+ - "--nocheck_visibility"
test_targets:
- "//:tests"
diff --git a/.travis.yml b/.travis.yml
index 2371866..5132c7b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -10,5 +10,5 @@
script:
- bazel version
- bazel build //:tulsi
- - bazel test //src/TulsiGeneratorTests --test_output=errors
- - bazel test //src/TulsiGeneratorIntegrationTests --test_output=errors
+ - bazel test //src/TulsiGeneratorTests --test_output=errors --nocheck_visibility
+ - bazel test //src/TulsiGeneratorIntegrationTests --test_output=errors --nocheck_visibility