Created
April 27, 2016 06:22
-
-
Save faethonm/92265b7954256ab0a2ddf34bfcbb07d5 to your computer and use it in GitHub Desktop.
An example shippable.yml that should enable any rails 5 project
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
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