#!/bin/bash
set -e
rm -f Gemfile.lock
bundle install --path "${HOME}/bundles/${JOB_NAME}"
export GOVUK_APP_DOMAIN=development
govuk_setenv default bundle exec rake test
govuk_setenv default bundle exec rake publish_gem

#!/bin/bash
set -e
rm -f Gemfile.lock
bundle install --path "${HOME}/bundles/${JOB_NAME}"
export GOVUK_APP_DOMAIN=development
bundle exec rake test
bundle exec rake publish_gem

Remove govuk_setenv as we're setting it manually
Remove govuk_setenv as we're setting it manually