CI: always update bundler

This commit is contained in:
nitramiz 2020-03-10 07:23:15 -07:00
parent e301ada9f4
commit 33a90dd5c0
No known key found for this signature in database
GPG key ID: 2352C35346C5D534

View file

@ -35,6 +35,7 @@ test_build:
- export CHARGE_ROOT=$CHARGE_ROOT_CI
- export REDIS_URI=$REDIS_URI_CI
script:
- bundle update --bundler
- bundle exec rake db:create && bundle exec rake db:schema:load && bundle exec rake db:migrate
- bundle exec ruby tests/tests.rb || { echo -e "Tests failed..\n Sleeping for an hour to debug."; sleep 3600; exit 1; }
- echo "Tests passed!"
@ -52,6 +53,7 @@ build:
- export CHARGE_ROOT=$CHARGE_ROOT_CI
- export REDIS_URI=$REDIS_URI_CI
script:
- bundle update --bundler
- bundle exec rake db:create && bundle exec rake db:schema:load && bundle exec rake db:migrate
- bundle exec ruby tests/tests.rb || { echo "Tests failed.."; exit 1; }
- echo $DOCKERHUB_PW | docker login -u $DOCKERHUB_USER --password-stdin