Created
June 21, 2014 20:16
-
-
Save jonatw/ea7e7280eab8d1fa2681 to your computer and use it in GitHub Desktop.
This file contains 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
# {Rails.root}/shippable.yml | |
# shippleable example for rails 4 with mysql | |
language: ruby | |
rvm: | |
- 2.0.0 | |
env: | |
- CI_REPORTS=shippable/testresults COVERAGE_REPORTS=shippable/codecoverage | |
# ensure the test output and coverage dirs are created | |
before_script: | |
- cp config/database.yml.shippable config/database.yml | |
- cp config/secrets.yml.shippable config/secrets.yml | |
- mysql -e 'create database shippable_test;' | |
- RAILS_ENV=test rake db:migrate | |
# write the rspec tests to the output dir | |
script: | |
- bin/rspec -f documentation -o shippable/testresults/results.txt | |
notifications: | |
email: | |
recipients: | |
- test@example.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment