diff options
author | Feng Xiao <xfxyjwf@gmail.com> | 2018-05-24 13:13:06 -0700 |
---|---|---|
committer | Feng Xiao <xfxyjwf@gmail.com> | 2018-05-24 14:02:48 -0700 |
commit | ffc8b35c83162f96cf137f019bf865e40c18ba5b (patch) | |
tree | 689278046b48dc6072b9ba0d49b76fef0f5c042b | |
parent | b625aabbe75f91bb4974b5c75106233ed2761dbb (diff) |
Add kokoro configs for bazel build.
-rwxr-xr-x | kokoro/linux/bazel/build.sh | 9 | ||||
-rw-r--r-- | kokoro/linux/bazel/continuous.cfg | 5 | ||||
-rw-r--r-- | kokoro/linux/bazel/presubmit.cfg | 5 |
3 files changed, 19 insertions, 0 deletions
diff --git a/kokoro/linux/bazel/build.sh b/kokoro/linux/bazel/build.sh new file mode 100755 index 00000000..d8aea724 --- /dev/null +++ b/kokoro/linux/bazel/build.sh @@ -0,0 +1,9 @@ +#!/bin/bash +# +# Build file to set up and run tests + +# Change to repo root +cd $(dirname $0)/../../.. + +git submodule update --init --recursive +bazel test :protobuf_test diff --git a/kokoro/linux/bazel/continuous.cfg b/kokoro/linux/bazel/continuous.cfg new file mode 100644 index 00000000..13cfef15 --- /dev/null +++ b/kokoro/linux/bazel/continuous.cfg @@ -0,0 +1,5 @@ +# Config file for running tests in Kokoro + +# Location of the build script in repository +build_file: "protobuf/kokoro/linux/bazel/build.sh" +timeout_mins: 15 diff --git a/kokoro/linux/bazel/presubmit.cfg b/kokoro/linux/bazel/presubmit.cfg new file mode 100644 index 00000000..13cfef15 --- /dev/null +++ b/kokoro/linux/bazel/presubmit.cfg @@ -0,0 +1,5 @@ +# Config file for running tests in Kokoro + +# Location of the build script in repository +build_file: "protobuf/kokoro/linux/bazel/build.sh" +timeout_mins: 15 |