16 lines
247 B
Bash
Executable File
16 lines
247 B
Bash
Executable File
#!/usr/bin/env 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 $1
|