aboutsummaryrefslogtreecommitdiffhomepage
path: root/kokoro/macos/ruby22
diff options
context:
space:
mode:
authorGravatar Matt Kwong <mattkwong@google.com>2017-06-01 11:46:43 -0700
committerGravatar Matt Kwong <mattkwong@google.com>2017-06-06 15:09:02 -0700
commit6156af10e8f9f7f3d69df9adef232a77b27d6fb2 (patch)
tree404107f78cde6aa41fdffa7d31d01175907facbe /kokoro/macos/ruby22
parent63a97289dc2bd6115f51a0e6e5bfa9bb79f56c6f (diff)
Add MacOS and Linux tests to Kokoro
Diffstat (limited to 'kokoro/macos/ruby22')
-rwxr-xr-xkokoro/macos/ruby22/build.sh11
-rw-r--r--kokoro/macos/ruby22/presubmit.cfg5
2 files changed, 16 insertions, 0 deletions
diff --git a/kokoro/macos/ruby22/build.sh b/kokoro/macos/ruby22/build.sh
new file mode 100755
index 00000000..5c4de429
--- /dev/null
+++ b/kokoro/macos/ruby22/build.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+#
+# Build file to set up and run tests
+
+# Change to repo root
+cd $(dirname $0)/../../..
+
+# Prepare worker environment to run tests
+source kokoro/macos/prepare_build_macos_rc
+
+./tests.sh ruby22
diff --git a/kokoro/macos/ruby22/presubmit.cfg b/kokoro/macos/ruby22/presubmit.cfg
new file mode 100644
index 00000000..d2705441
--- /dev/null
+++ b/kokoro/macos/ruby22/presubmit.cfg
@@ -0,0 +1,5 @@
+# Config file for running tests in Kokoro
+
+# Location of the build script in repository
+build_file: "protobuf/kokoro/macos/ruby22/build.sh"
+timeout_mins: 1440