Exclude gems from coverage stats when locally vendored on Travis CI

This commit is contained in:
Marc Siegel 2014-02-21 15:37:09 -05:00
parent 3736e7d4ec
commit ba48a08471
2 changed files with 3 additions and 1 deletions

1
.gitignore vendored
View File

@ -6,3 +6,4 @@ pkg
doc
.yardoc
coverage
vendor

View File

@ -8,7 +8,8 @@ if !RUBY_VERSION.start_with? '1.8'
Coveralls::SimpleCov::Formatter
]
SimpleCov.start do
add_filter "/spec/"
add_filter '/spec/' # exclude test code
add_filter '/vendor/' # exclude gems which are vendored on Travis CI
end
# Remove Docile, which was required by SimpleCov, to require again later