Created
December 2, 2016 23:25
-
-
Save nas887/0ba4ba10a9faa63310bb56266c00632d to your computer and use it in GitHub Desktop.
circle-ci octopus friendly config
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
| machine: | |
| node: | |
| version: 6 | |
| timezone: | |
| 'America/Los_Angeles' | |
| environment: | |
| WHITELIST: false | |
| WHITELIST_IPS: '' | |
| RSPEC_FORMAT: 'RspecJunitFormatter' | |
| RSPEC_OUT: '$CIRCLE_TEST_REPORTS/rspec/junit.xml' | |
| database: | |
| override: | |
| - mv config/database.yml.ci config/database.yml | |
| - psql -c 'create database my_app_test;' -U ubuntu | |
| - RAILS_ENV=test bundle exec rake db:schema:load | |
| - RAILS_ENV=test bundle exec rake db:migrate --trace | |
| test: | |
| override: | |
| - bundle exec bundle-audit | |
| - bundle exec rspec: | |
| parallel: true | |
| files: | |
| - spec/**/*_spec.rb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment