Skip to content

Commit

Permalink
[Specs] Add minimum coverage requirent only on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiopelosin committed Apr 9, 2014
1 parent 8affad8 commit 134c8d4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@
SimpleCov.formatter = SimpleCov::Formatter::HTMLFormatter
end
SimpleCov.start do
add_filter "/spec_helper/"
add_filter "vendor"
minimum_coverage 98
add_filter '/spec_helper/'
add_filter 'vendor'
if ENV['CI']
minimum_coverage 98
end
end
end

Expand Down

0 comments on commit 134c8d4

Please sign in to comment.