diff options
author | Thomas Van Lenten <thomasvl@google.com> | 2019-02-27 12:21:18 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-27 12:21:18 -0500 |
commit | e171ec16d89afe28d09d29837ce523aa10aebdc6 (patch) | |
tree | f8227f5c563e0c6356552d6a5ac41c5fbd1197ec /.bazelci | |
parent | a2ec47917b52199de11b737e4197e9fd040b4bfd (diff) | |
download | bazel-skylib-e171ec16d89afe28d09d29837ce523aa10aebdc6.tar.gz |
CI updates. (#118)
- Retire the use of travis for testing.
- Update buildkite config:
- Enable buildifier testing (close to what was on travis, and is being improved.)
- Update the config to now test the latests release and the latest green, replacing
the "head" testing on travis.
Diffstat (limited to '.bazelci')
-rw-r--r-- | .bazelci/presubmit.yml | 73 |
1 files changed, 68 insertions, 5 deletions
diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml index fc47833..bd50460 100644 --- a/.bazelci/presubmit.yml +++ b/.bazelci/presubmit.yml @@ -1,27 +1,42 @@ --- -platforms: - ubuntu1404: +tasks: + ubuntu1804_latest: + name: "Latest Bazel" + platform: ubuntu1804 + bazel: latest build_targets: - "..." test_targets: - "..." test_flags: - "--test_env=PATH" - ubuntu1604: + + ubuntu1604_latest: + name: "Latest Bazel" + platform: ubuntu1604 + bazel: latest build_targets: - "..." test_targets: - "..." test_flags: - "--test_env=PATH" - macos: + + macos_latest: + name: "Latest Bazel" + platform: macos + bazel: latest build_targets: - "..." test_targets: - "..." test_flags: - "--test_env=PATH" - windows: + + windows_latest: + name: "Latest Bazel" + platform: windows + bazel: latest build_targets: - "..." test_targets: @@ -30,3 +45,51 @@ platforms: # Shell tests don't run on windows. - "-//tests:analysis_test_e2e_test" - "-//tests:unittest_e2e_test" + + ubuntu1804_last_green: + name: "Last Green Bazel" + platform: ubuntu1804 + bazel: last_green + build_targets: + - "..." + test_targets: + - "..." + test_flags: + - "--test_env=PATH" + + ubuntu1604_last_green: + name: "Last Green Bazel" + platform: ubuntu1604 + bazel: last_green + build_targets: + - "..." + test_targets: + - "..." + test_flags: + - "--test_env=PATH" + + macos_last_green: + name: "Last Green Bazel" + platform: macos + bazel: last_green + build_targets: + - "..." + test_targets: + - "..." + test_flags: + - "--test_env=PATH" + + windows_last_green: + name: "Last Green Bazel" + platform: windows + bazel: last_green + build_targets: + - "..." + test_targets: + - "--" + - "..." + # Shell tests don't run on windows. + - "-//tests:analysis_test_e2e_test" + - "-//tests:unittest_e2e_test" + +buildifier: true |