Sha256: cc9810d3f3d67b654112e461f06370dba08078c8295875086ff7cb6ab115246c
Contents?: true
Size: 913 Bytes
Versions: 7
Compression:
Stored size: 913 Bytes
Contents
#!/bin/bash # This file runs tests for merges, PRs, and nightlies. # There are a few rules for what tests are run: # * PRs run all non-acceptance tests for every library. # * Merges run all non-acceptance tests for every library, and acceptance tests for all altered libraries. # * Nightlies run all acceptance tests for every library. set -eo pipefail # Debug: show build environment env | grep KOKORO cd github/google-api-ruby-client/ # Print out Ruby version ruby --version # Temporary workaround for a known bundler+docker issue: # https://github.com/bundler/bundler/issues/6154 export BUNDLE_GEMFILE= RUBY_VERSIONS=("2.3.8" "2.4.5" "2.5.3") # Capture failures EXIT_STATUS=0 # everything passed function set_failed_status { EXIT_STATUS=1 } for version in "${RUBY_VERSIONS[@]}"; do rbenv global "$version" (bundle update && bundle exec rake) || set_failed_status done exit $EXIT_STATUS
Version data entries
7 entries across 7 versions & 1 rubygems