From 7f644029659f305ac08974fb1eefb34620ee4472 Mon Sep 17 00:00:00 2001 From: Stanley Cheung Date: Mon, 12 Nov 2018 14:43:59 -0800 Subject: [PATCH] Use latest bazel version --- scripts/kokoro.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/kokoro.sh b/scripts/kokoro.sh index 917f4d4..13a4a81 100755 --- a/scripts/kokoro.sh +++ b/scripts/kokoro.sh @@ -31,7 +31,12 @@ done docker-compose build # Run all bazel unit tests -bazel test \ +BAZEL_VERSION=0.19.1 +wget https://github.com/bazelbuild/bazel/releases/download/"${BAZEL_VERSION}"/bazel-"${BAZEL_VERSION}"-installer-linux-x86_64.sh +chmod +x ./bazel-"${BAZEL_VERSION}"-installer-linux-x86_64.sh +./bazel-"${BAZEL_VERSION}"-installer-linux-x86_64.sh --user +$HOME/bin/bazel version +$HOME/bin/bazel test \ //javascript/net/grpc/web/... \ //net/grpc/gateway/examples/...