#!/bin/bash -x
export DISPLAY=:99
bundle install --path "${HOME}/bundles/${JOB_NAME}" --deployment
bundle exec rake db:create db:migrate db:test:prepare && RAILS_ENV=test bundle exec rake test test:cleanup --trace && RAILS_ENV=production PRECOMPILING_ASSETS=true bundle exec rake assets:precompile --trace

#!/bin/bash -x
export DISPLAY=:99
bundle install --path "${HOME}/bundles/${JOB_NAME}" --deployment
bundle exec rake db:create db:migrate db:test:prepare && RAILS_ENV=test CUCUMBER_FORMAT=progress bundle exec rake test test:cleanup --trace && RAILS_ENV=production PRECOMPILING_ASSETS=true bundle exec rake assets:precompile --trace

Improve signal-to-noise ratio in CI build console output.
Improve signal-to-noise ratio in CI build console output.

The default Cucumber formatter outputs all the steps in all the
features as well as reporting errors and failures. When a build fails it
takes a while to look through all the output to find the error/failure.
Using the "progress" formatter gives much terser output, but retains
all the useful info for errors & failures.
