blob: 2ccb490aae2345693e0d8d1be50bdb06ae1173cf (
plain) (
tree)
|
|
#!/bin/bash
# Exit on any error.
set -e
test_version() {
version=$1
bash --login -c \
"rvm install $version && rvm use $version && \
which ruby && \
gem install bundler && bundle && \
rake test"
}
test_version ruby-1.9
test_version ruby-2.0
test_version ruby-2.1
test_version ruby-2.2
test_version jruby
|