Skip to content

Instantly share code, notes, and snippets.

@mscoutermarsh
Created September 24, 2016 19:33
Show Gist options
  • Save mscoutermarsh/6eb18bc155e540035c7d92c7c65e5d27 to your computer and use it in GitHub Desktop.
Save mscoutermarsh/6eb18bc155e540035c7d92c7c65e5d27 to your computer and use it in GitHub Desktop.
Example
language: ruby
rvm:
- 2.2.4
before_install: gem update --remote bundler
install:
- bundle install --retry=3
script:
- bundle exec rspec
- bundle exec rubocop --config .rubocop.yml
services: "-postgresql"
script:
- bundle exec rake db:test:prepare
- bundle exec rspec
- bundle exec rubocop
deploy:
provider: heroku
run: "rake db:migrate"
api_key:
secure: encrypted_key_goes_here
app: app-name
on:
repo: team-name/repo-name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment