Add a script to run all tests on all Rubies

This commit is contained in:
Elliot Winkler 2014-06-27 14:04:50 -06:00
parent dd89ff2169
commit a1e2f19782
1 changed files with 14 additions and 0 deletions

14
script/run_all_tests Executable file
View File

@ -0,0 +1,14 @@
#!/bin/bash
SUPPORTED_VERSIONS=$(<script/SUPPORTED_VERSIONS)
run-tests-for-version() {
local version="$1"
(export RBENV_VERSION=$version; bundle exec rake)
}
for version in $SUPPORTED_VERSIONS; do
echo
echo "*** Running tests for $version ***"
run-tests-for-version $version
done