jam-cloud/build

19 lines
281 B
Plaintext
Raw Normal View History

2012-11-18 07:56:50 +00:00
#!/bin/bash
echo "updating dependencies"
bundle update
echo "running rspec tests"
bundle exec rspec
echo "running jasmine tests"
rake jasmine:ci RAILS_ENV=test
2012-11-18 07:56:50 +00:00
if [ "$?" = "0" ]; then
echo "tests completed"
else
echo "tests failed."
exit 1
fi
echo "build complete"