diff options
author | Paul Yang <TeBoring@users.noreply.github.com> | 2018-07-02 15:11:36 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-02 15:11:36 -0700 |
commit | 78ba021b846e060d5b8f3424259d30a1f3ae4eef (patch) | |
tree | 901d1625c4e796aa89f4e2bdd331e59b48eaac3f /tests.sh | |
parent | 2c30fa71e7af67ef42a3c71651ee5baedfb2fbfe (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-x | tests.sh | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -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 |