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

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

Include govuk_setenv to allow us to build the gem
Include govuk_setenv to allow us to build the gem