-
Notifications
You must be signed in to change notification settings - Fork 15.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
af19b32
commit 0ece600
Showing
8 changed files
with
16 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,26 @@ | ||
#!/bin/bash | ||
|
||
set -ex | ||
set -eux | ||
|
||
VERSION=$1 | ||
|
||
# Prepare worker environment to run tests | ||
KOKORO_INSTALL_RVM=yes | ||
source kokoro/macos/prepare_build_macos_rc | ||
|
||
# Setup ruby | ||
# Install dependencies | ||
brew install wget | ||
|
||
# Setup ruby. Disable unbound variable errors, due to a known issue | ||
# https://github.com/rvm/rvm/issues/4618. | ||
set +u | ||
rvm install $VERSION | ||
rvm use $VERSION | ||
rvm get head | ||
which ruby | ||
rvm current | grep -qe "${RUBY_VERSION}.*" || exit 1; | ||
set -u | ||
|
||
gem install --no-document bundler -v 1.17.3 | ||
bundle | ||
|
||
# Run tests | ||
bazel test //ruby/... --test_env=KOKORO_RUBY_VERSION=$VERSION |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.