Skip to content

Commit

Permalink
Add kokoro configs for bazel build.
Browse files Browse the repository at this point in the history
  • Loading branch information
xfxyjwf committed May 24, 2018
1 parent b625aab commit ffc8b35
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
9 changes: 9 additions & 0 deletions kokoro/linux/bazel/build.sh
Original file line number Diff line number Diff line change
@@ -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
5 changes: 5 additions & 0 deletions kokoro/linux/bazel/continuous.cfg
Original file line number Diff line number Diff line change
@@ -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
5 changes: 5 additions & 0 deletions kokoro/linux/bazel/presubmit.cfg
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ffc8b35

Please sign in to comment.