aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests.sh
diff options
context:
space:
mode:
authorGravatar Paul Yang <TeBoring@users.noreply.github.com>2018-07-02 15:11:36 -0700
committerGravatar GitHub <noreply@github.com>2018-07-02 15:11:36 -0700
commit78ba021b846e060d5b8f3424259d30a1f3ae4eef (patch)
tree901d1625c4e796aa89f4e2bdd331e59b48eaac3f /tests.sh
parent2c30fa71e7af67ef42a3c71651ee5baedfb2fbfe (diff)
Add continuous test for ruby 2.3, 2.4 and 2.5 (#4829)
* Add continuous test for ruby 2.3, 2.4 and 2.5 * Change ruby 2.5 to 2.5.0 * No need to provide argument to rb_funcall when argc is 0 * Fix tests for ruby 2.5 * Use rescue instead of assert_raise to accept subclass of error
Diffstat (limited to 'tests.sh')
-rwxr-xr-xtests.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests.sh b/tests.sh
index da607281..12a3cf30 100755
--- a/tests.sh
+++ b/tests.sh
@@ -325,6 +325,18 @@ build_ruby22() {
internal_build_cpp # For conformance tests.
cd ruby && bash travis-test.sh ruby-2.2 && cd ..
}
+build_ruby23() {
+ internal_build_cpp # For conformance tests.
+ cd ruby && bash travis-test.sh ruby-2.3 && cd ..
+}
+build_ruby24() {
+ internal_build_cpp # For conformance tests.
+ cd ruby && bash travis-test.sh ruby-2.4 && cd ..
+}
+build_ruby25() {
+ internal_build_cpp # For conformance tests.
+ cd ruby && bash travis-test.sh ruby-2.5.0 && cd ..
+}
build_jruby() {
internal_build_cpp # For conformance tests.
# TODO(xiaofeng): Upgrade to jruby-9.x. There are some broken jests to be
@@ -334,6 +346,9 @@ build_jruby() {
build_ruby_all() {
build_ruby21
build_ruby22
+ build_ruby23
+ build_ruby24
+ build_ruby25
# TODO(teboring): Disable jruby test temperarily for it randomly fails.
# https://grpc-testing.appspot.com/job/protobuf_pull_request/735/consoleFull.
# build_jruby