Created
September 15, 2016 05:15
-
-
Save edwardsharp/e90d4bf7af8805e933695a3f7a95dd79 to your computer and use it in GitHub Desktop.
drone config for self-hosted drone (rancher)
This file contains hidden or 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
| image: ruby2.0.0 | |
| env: | |
| - RAILS_ENV=test | |
| script: | |
| - cp config/database.drone.yml config/database.yml | |
| - bundle install | |
| - psql -c 'create database test;' -U postgres -h 127.0.0.1 | |
| - bundle exec rake db:schema:load | |
| - bundle exec rspec spec | |
| services: | |
| - postgres | |
| notify: | |
| email: | |
| recipients: | |
| - [email protected] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment