Sha256: 08094a2bbffd37305ae7d7cab30978967b83af20522e21626ef4f8c886f37c2e
Contents?: true
Size: 633 Bytes
Versions: 6
Compression:
Stored size: 633 Bytes
Contents
#!/bin/bash set -e GEMFILE_FOLDER=$1 GEMFILE=$GEMFILE_FOLDER/Gemfile echo echo $GEMFILE echo scenarios=$(cat $GEMFILE_FOLDER/scenarios) PLATFORM="$(BUNDLE_GEMFILE=$GEMFILE bundle platform)" if [[ "$PLATFORM" =~ "Your Ruby version is" ]]; then echo "$PLATFORM" echo echo "Skipping." exit 0 fi for scenario in $scenarios; do echo echo $scenario echo scenario_path=test/scenarios/$scenario BUNDLE_GEMFILE=$GEMFILE bundle install output=$(BUNDLE_GEMFILE=$GEMFILE bundle exec ruby -I lib test/scenarios/$scenario) if [[ ! -z $output ]]; then echo "Expected output to be empty, but was:" echo "$output" exit 1 fi done
Version data entries
6 entries across 6 versions & 2 rubygems