Skip to content

Commit

Permalink
Add ubuntu1804_nojava, ubuntu1804_java9, ubuntu1804_java10 to postsub…
Browse files Browse the repository at this point in the history
…mit.

PiperOrigin-RevId: 211795419
  • Loading branch information
philwo authored and Copybara-Service committed Sep 6, 2018
1 parent ffc9900 commit a572c1c
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .bazelci/postsubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,52 @@ platforms:
- "//tools/android/..."
# Re-enable once fixed: https://github.com/bazelbuild/bazel/issues/5888
- "-//src/test/java/com/google/devtools/build/android/ziputils:ziputils-tests"
ubuntu1804_nojava:
build_targets:
- "//examples/cpp:all"
test_flags:
- "--test_timeout=1200"
test_targets:
- "--"
- "//scripts/..."
- "//src/test/..."
- "//third_party/ijar/..."
# We can't run Android tests without an installed Android SDK / NDK.
- "-//src/test/java/com/google/devtools/build/android/..."
ubuntu1804_java9:
shell_commands:
- sed -i.bak -e 's/^# android_sdk_repository/android_sdk_repository/' -e 's/^#
android_ndk_repository/android_ndk_repository/' WORKSPACE
- rm -f WORKSPACE.bak
build_targets:
- "//src:bazel"
test_flags:
- "--test_timeout=1200"
test_targets:
- "--"
- "//scripts/..."
- "//src/test/..."
- "//third_party/ijar/..."
- "//tools/android/..."
# Re-enable once fixed: https://github.com/bazelbuild/bazel/issues/5888
- "-//src/test/java/com/google/devtools/build/android/ziputils:ziputils-tests"
ubuntu1804_java10:
shell_commands:
- sed -i.bak -e 's/^# android_sdk_repository/android_sdk_repository/' -e 's/^#
android_ndk_repository/android_ndk_repository/' WORKSPACE
- rm -f WORKSPACE.bak
build_targets:
- "//src:bazel"
test_flags:
- "--test_timeout=1200"
test_targets:
- "--"
- "//scripts/..."
- "//src/test/..."
- "//third_party/ijar/..."
- "//tools/android/..."
# Re-enable once fixed: https://github.com/bazelbuild/bazel/issues/5888
- "-//src/test/java/com/google/devtools/build/android/ziputils:ziputils-tests"
macos:
shell_commands:
- sed -i.bak -e 's/^# android_sdk_repository/android_sdk_repository/' -e 's/^#
Expand Down

0 comments on commit a572c1c

Please sign in to comment.