Created
November 2, 2015 16:12
-
-
Save akirill0v/42860ef7a498b8e0dbdb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
artifacts: | |
- migration.log.txt | |
- prefix: "$CI_JOB_ID." | |
before_script: | |
- cp config/database.yml.ci config/database.yml | |
- sudo -u postgres psql -c 'create database test_db' | |
- RAILS_ENV=test bundle exec rake db:migrate > migration.log.txt | |
script: bundle exec ${BUILD_CMD} | |
deploy: | |
shell: bundle exec cap staging deploy | |
branch: master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment