Skip to content

Instantly share code, notes, and snippets.

@faethonm
Created April 27, 2016 06:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save faethonm/92265b7954256ab0a2ddf34bfcbb07d5 to your computer and use it in GitHub Desktop.
Save faethonm/92265b7954256ab0a2ddf34bfcbb07d5 to your computer and use it in GitHub Desktop.
An example shippable.yml that should enable any rails 5 project
language: ruby
rvm:
- 2.3.0
env:
- CI_REPORTS=shippable/testresults COVERAGE_REPORTS=shippable/codecoverage
before_install:
- sudo apt-get -y update
- sudo apt-get -y install libpq-dev
before_script:
# ensure the test output and coverage dirs are created
- mkdir -p shippable/testresults
- bin/rails db:migrate RAILS_ENV=test
script:
- rspec -f RspecJunitFormatter -o shippable/testresults/results.xml
- rubocop
cache: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment