Browse Source

Updated Bazel test script to use most recent Bazel version (#6413)

I'm not exactly sure why, but this fixes the failing Bazel presubmit
test. Using the most recent version seems like a good idea anyway so
that we can make sure we're compatible with any new Bazel changes.
Adam Cozzette 6 years ago
parent
commit
63d9c1fb95
1 changed files with 4 additions and 0 deletions
  1. 4 0
      kokoro/linux/bazel/build.sh

+ 4 - 0
kokoro/linux/bazel/build.sh

@@ -3,6 +3,10 @@
 # Build file to set up and run tests
 set -ex
 
+# Install the latest Bazel version available
+use_bazel.sh latest
+bazel version
+
 # Change to repo root
 cd $(dirname $0)/../../..