mirror of
https://github.com/thoughtbot/shoulda-matchers.git
synced 2022-11-09 12:01:38 -05:00
14 lines
293 B
Bash
Executable file
14 lines
293 B
Bash
Executable file
#!/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
|