Created
July 16, 2014 16:47
-
-
Save dankohn/80c2224541f85cd129ac to your computer and use it in GitHub Desktop.
Configuring CircleCI, Coveralls, and CodeClimate
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
## 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" |
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
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