Add config with bazelversions
diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml
index de422ec..c7000c0 100644
--- a/.bazelci/presubmit.yml
+++ b/.bazelci/presubmit.yml
@@ -1,53 +1,17 @@
---
platforms:
ubuntu1404:
- run_targets:
+ shell_commands:
+ - echo 0.21.0 > .bazelversion
build_targets:
- - "..."
- test_flags:
- - "--test_timeout=300"
- test_targets:
- - "..."
+ - "//..."
ubuntu1604:
- run_targets:
+ shell_commands:
+ - echo 0.20.0 > .bazelversion
build_targets:
- - "..."
- test_flags:
- - "--test_timeout=300"
- test_targets:
- - "..."
+ - "//..."
ubuntu1804:
- run_targets:
+ shell_commands:
+ - echo 0.19.2 > .bazelversion
build_targets:
- - "..."
- test_flags:
- - "--test_timeout=300"
- test_targets:
- - "..."
- ubuntu1804_nojava:
- run_targets:
- build_flags:
- - "--javabase=@openjdk_linux_archive//:runtime"
- build_targets:
- - "..."
- test_flags:
- - "--test_timeout=300"
- - "--javabase=@openjdk_linux_archive//:runtime"
- test_targets:
- - "..."
- macos:
- run_targets:
- build_targets:
- - "..."
- test_flags:
- - "--test_timeout=300"
- test_targets:
- - "..."
- windows:
- run_targets:
- build_targets:
- - "..."
- test_flags:
- - "--test_timeout=300"
- test_targets:
- - "..."
+ - "//..."