bin/test in hamlit-2.3.1 vs bin/test in hamlit-2.4.0
- old
+ new
@@ -1,11 +1,11 @@
#!/bin/bash
VERSIONS=(
- 2.1.7
- 2.2.3
- 2.3.0
+ 2.1.10
+ 2.2.5
+ 2.3.1
)
set -e
trap 'echo "${VERSIONS[2]}" > .ruby-version' 0
@@ -14,10 +14,10 @@
rbenv local $version
if ! bundle check > /dev/null; then
bundle install
fi
ruby -v
- rake test
+ bundle exec rake test
}
for version in ${VERSIONS[@]}; do
test_with $version
done