Skip to content

Instantly share code, notes, and snippets.

@edwardsharp
Created September 15, 2016 05:15
Show Gist options
  • Select an option

  • Save edwardsharp/e90d4bf7af8805e933695a3f7a95dd79 to your computer and use it in GitHub Desktop.

Select an option

Save edwardsharp/e90d4bf7af8805e933695a3f7a95dd79 to your computer and use it in GitHub Desktop.
drone config for self-hosted drone (rancher)
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