Skip to content

Commit

Permalink
Enforce code coverage minimums
Browse files Browse the repository at this point in the history
  • Loading branch information
sferik committed Dec 9, 2013
1 parent f6faf84 commit 88a7820
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,16 @@ rvm:
- 1.9.2
- 1.9.3
- 2.0.0
- jruby-head
- rbx
- ruby-head
matrix:
include:
- rvm: jruby-19mode
env: JRUBY_OPTS="$JRUBY_OPTS --debug"
- rvm: jruby-20mode
env: JRUBY_OPTS="$JRUBY_OPTS --debug"
- rvm: jruby-head
env: JRUBY_OPTS="$JRUBY_OPTS --debug"
allow_failures:
- rvm: jruby-head
- rvm: rbx
Expand Down
5 changes: 4 additions & 1 deletion spec/helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
SimpleCov::Formatter::HTMLFormatter,
Coveralls::SimpleCov::Formatter
]
SimpleCov.start

SimpleCov.start do
minimum_coverage(99.73)
end

require 'twitter'
require 'rspec'
Expand Down

0 comments on commit 88a7820

Please sign in to comment.