Add ruby2.3,2.4.2.5 test on Mac and disable ruby2.1,2.2 test on Linux (#5250)
This commit is contained in:
parent
ebd38c6d9a
commit
39df66e1f7
11
kokoro/macos/ruby23/build.sh
Executable file
11
kokoro/macos/ruby23/build.sh
Executable file
@ -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 ruby23
|
5
kokoro/macos/ruby23/continuous.cfg
Normal file
5
kokoro/macos/ruby23/continuous.cfg
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# Config file for running tests in Kokoro
|
||||||
|
|
||||||
|
# Location of the build script in repository
|
||||||
|
build_file: "protobuf/kokoro/macos/ruby23/build.sh"
|
||||||
|
timeout_mins: 1440
|
5
kokoro/macos/ruby23/presubmit.cfg
Normal file
5
kokoro/macos/ruby23/presubmit.cfg
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# Config file for running tests in Kokoro
|
||||||
|
|
||||||
|
# Location of the build script in repository
|
||||||
|
build_file: "protobuf/kokoro/macos/ruby23/build.sh"
|
||||||
|
timeout_mins: 1440
|
11
kokoro/macos/ruby24/build.sh
Executable file
11
kokoro/macos/ruby24/build.sh
Executable file
@ -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 ruby24
|
5
kokoro/macos/ruby24/continuous.cfg
Normal file
5
kokoro/macos/ruby24/continuous.cfg
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# Config file for running tests in Kokoro
|
||||||
|
|
||||||
|
# Location of the build script in repository
|
||||||
|
build_file: "protobuf/kokoro/macos/ruby24/build.sh"
|
||||||
|
timeout_mins: 1440
|
5
kokoro/macos/ruby24/presubmit.cfg
Normal file
5
kokoro/macos/ruby24/presubmit.cfg
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# Config file for running tests in Kokoro
|
||||||
|
|
||||||
|
# Location of the build script in repository
|
||||||
|
build_file: "protobuf/kokoro/macos/ruby24/build.sh"
|
||||||
|
timeout_mins: 1440
|
11
kokoro/macos/ruby25/build.sh
Executable file
11
kokoro/macos/ruby25/build.sh
Executable file
@ -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 ruby25
|
5
kokoro/macos/ruby25/continuous.cfg
Normal file
5
kokoro/macos/ruby25/continuous.cfg
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# Config file for running tests in Kokoro
|
||||||
|
|
||||||
|
# Location of the build script in repository
|
||||||
|
build_file: "protobuf/kokoro/macos/ruby25/build.sh"
|
||||||
|
timeout_mins: 1440
|
5
kokoro/macos/ruby25/presubmit.cfg
Normal file
5
kokoro/macos/ruby25/presubmit.cfg
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# Config file for running tests in Kokoro
|
||||||
|
|
||||||
|
# Location of the build script in repository
|
||||||
|
build_file: "protobuf/kokoro/macos/ruby25/build.sh"
|
||||||
|
timeout_mins: 1440
|
5
tests.sh
5
tests.sh
@ -265,8 +265,6 @@ build_ruby25() {
|
|||||||
cd ruby && bash travis-test.sh ruby-2.5.0 && cd ..
|
cd ruby && bash travis-test.sh ruby-2.5.0 && cd ..
|
||||||
}
|
}
|
||||||
build_ruby_all() {
|
build_ruby_all() {
|
||||||
build_ruby21
|
|
||||||
build_ruby22
|
|
||||||
build_ruby23
|
build_ruby23
|
||||||
build_ruby24
|
build_ruby24
|
||||||
build_ruby25
|
build_ruby25
|
||||||
@ -575,6 +573,9 @@ Usage: $0 { cpp |
|
|||||||
python_compatibility |
|
python_compatibility |
|
||||||
ruby21 |
|
ruby21 |
|
||||||
ruby22 |
|
ruby22 |
|
||||||
|
ruby23 |
|
||||||
|
ruby24 |
|
||||||
|
ruby25 |
|
||||||
jruby |
|
jruby |
|
||||||
ruby_all |
|
ruby_all |
|
||||||
php5.5 |
|
php5.5 |
|
||||||
|
Loading…
Reference in New Issue
Block a user