#!/bin/bash -x
set -e
bundle install --path "${HOME}/bundles/${JOB_NAME}"
export GOVUK_APP_DOMAIN=dev.gov.uk
bundle exec rake test
bundle exec rake publish_gem --trace

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

Remove Gemfile.lock before running tests.
Remove Gemfile.lock before running tests.

This ensures we're testing against the dependencies specified in the
gemsepc.
