jam-cloud/ruby/build

19 lines
266 B
Bash
Executable File

#!/bin/bash
echo "updating dependencies"
bundle install --path vendor/bundle --local
bundle update
echo "running rspec tests"
bundle exec rspec
if [ "$?" = "0" ]; then
echo "tests completed"
else
echo "tests failed."
exit 1
fi
echo "build complete"