Sha256: df764305e429fb56cad52c144293b4e34b173315be820b982fa4c191ce0bb0ed
Contents?: true
Size: 976 Bytes
Versions: 8
Compression:
Stored size: 976 Bytes
Contents
#!/bin/bash set -e cd "$(dirname "$0")/.." eval "$(rbenv init - --no-rehash)" rspec_file_line="$1" if [[ "$rspec_file_line" != "" ]]; then rspec_file_line="[${rspec_file_line}]" fi success="true" for ruby_version in `ruby -ryaml -e 'puts YAML.load(File.read(".travis.yml"))["rvm"].join(" ")'`; do { echo "testing ruby version $ruby_version" && rbenv shell $ruby_version && bundle exec rspec } || success="false" done if [ $success == "true" ]; then tput bold # bold text tput setaf 2 # green text echo "======================================" echo "= Passed =" echo "======================================" tput sgr0 # reset to default text exit 0 else tput bold # bold text tput setaf 1 # red text echo "======================================" echo "= FAILED =" echo "======================================" tput sgr0 # reset to default text exit 1 fi
Version data entries
8 entries across 8 versions & 1 rubygems