Skip to content

Instantly share code, notes, and snippets.

@dankohn
Created July 16, 2014 16:47
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 dankohn/80c2224541f85cd129ac to your computer and use it in GitHub Desktop.
Save dankohn/80c2224541f85cd129ac to your computer and use it in GitHub Desktop.
Configuring CircleCI, Coveralls, and CodeClimate
## Customize test commands
test:
post:
- bundle exec rake coveralls:push
## Don't have CircleCI create coverage in an unexpected place, as coveralls wouldn't be able to find it.
general:
artifacts:
- "coverage"
require 'simplecov'
require 'coveralls'
require 'codeclimate-test-reporter'
CodeClimate::TestReporter.start
SimpleCov.start do
add_filter '/spec/'
add_filter '/config/'
add_filter '/lib/tasks'
add_filter '/lib/assets'
add_filter '/vendor/'
add_filter '/features/'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment