File tree Expand file tree Collapse file tree 8 files changed +14
-42
lines changed Expand file tree Collapse file tree 8 files changed +14
-42
lines changed Original file line number Diff line number Diff line change 55# Change to repo root
66cd $( dirname $0 ) /../../..
77
8- ./ kokoro/macos/test_ruby.sh ruby-2.5.1
8+ bash -l kokoro/macos/test_ruby.sh ruby-2.5.1
Original file line number Diff line number Diff line change 55# Change to repo root
66cd $( dirname $0 ) /../../..
77
8- ./ kokoro/macos/test_ruby.sh ruby-2.6.0
8+ bash -l kokoro/macos/test_ruby.sh ruby-2.6.0
Original file line number Diff line number Diff line change 55# Change to repo root
66cd $( dirname $0 ) /../../..
77
8- ./ kokoro/macos/test_ruby.sh ruby-2.7.0
8+ bash -l kokoro/macos/test_ruby.sh ruby-2.7.0
Original file line number Diff line number Diff line change 55# Change to repo root
66cd $( dirname $0 ) /../../..
77
8- ./ kokoro/macos/test_ruby.sh ruby-3.0.2
8+ bash -l kokoro/macos/test_ruby.sh ruby-3.0.2
Original file line number Diff line number Diff line change @@ -8,4 +8,4 @@ cd $(dirname $0)/../../..
88# Fix locale issues in Monterey.
99export LC_ALL=en_US.UTF-8
1010
11- ./ kokoro/macos/test_ruby.sh ruby-3.1.0
11+ bash -l kokoro/macos/test_ruby.sh ruby-3.1.0
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- set -ex
3+ set -eux
44
55VERSION=$1
66
77# Prepare worker environment to run tests
88KOKORO_INSTALL_RVM=yes
99source kokoro/macos/prepare_build_macos_rc
1010
11- # Setup ruby
11+ # Install dependencies
12+ brew install wget
13+
14+ # Configure system ruby.
15+ # We need to disable unbound variable errors, due to a known issue described in
16+ # https://github.com/rvm/rvm/issues/4618.
17+ set +u
1218rvm install $VERSION
1319rvm use $VERSION
14- rvm get head
15- which ruby
1620rvm current | grep -qe " ${RUBY_VERSION} .*" || exit 1;
21+ set -u
1722
1823# Run tests
1924bazel test //ruby/... --test_env=KOKORO_RUBY_VERSION=$VERSION
Original file line number Diff line number Diff line change @@ -73,7 +73,6 @@ pkg_files(
7373 "Gemfile" ,
7474 "Rakefile" ,
7575 "README.md" ,
76- "travis-test.sh" ,
7776 ],
7877 strip_prefix = strip_prefix .from_root ("" ),
7978 visibility = ["//pkg:__pkg__" ],
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments