Skip to content

Commit 9d57b06

Browse files
committed
Enforce code coverage minimums
1 parent bba8b6a commit 9d57b06

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.rspec

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
--color
2-
--order random

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ matrix:
1616
- rvm: jruby-head
1717
env: JRUBY_OPTS="$JRUBY_OPTS --debug"
1818
allow_failures:
19-
- rvm: 1.8.7
2019
- rvm: jruby-19mode
2120
- rvm: jruby-20mode
2221
- rvm: jruby-head

spec/helper.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@
77
SimpleCov::Formatter::HTMLFormatter,
88
Coveralls::SimpleCov::Formatter
99
]
10-
SimpleCov.start
10+
11+
SimpleCov.start do
12+
add_filter '/spec/'
13+
minimum_coverage(92.21)
14+
end
1115

1216
$:.unshift(File.join(File.dirname(__FILE__), "..", "lib"))
1317
require 'thor'

0 commit comments

Comments
 (0)