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 Mar 24, 2014
1 parent b813b8b commit a4443c0
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 5 deletions.
19 changes: 15 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,21 @@
language: ruby
rvm:
- rbx-18mode
- rbx-19mode
- jruby-18mode
- jruby-19mode
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1
- rbx-2
- ruby-head
matrix:
include:
- rvm: jruby-18mode
env: JRUBY_OPTS="$JRUBY_OPTS --debug"
- rvm: jruby-19mode
env: JRUBY_OPTS="$JRUBY_OPTS --debug"
- rvm: jruby-head
env: JRUBY_OPTS="$JRUBY_OPTS --debug"
allow_failures:
- rvm: jruby-head
- rvm: ruby-head
fast_finish: true
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ implementations:
* Ruby 1.9.2
* Ruby 1.9.3
* Ruby 2.0.0
* Ruby 2.1
* [JRuby](http://jruby.org/)
* [Rubinius](http://rubini.us/)

Expand Down
6 changes: 5 additions & 1 deletion spec/helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
SimpleCov::Formatter::HTMLFormatter,
Coveralls::SimpleCov::Formatter
]
SimpleCov.start

SimpleCov.start do
add_filter '/spec/'
minimum_coverage(100)
end

require 'simple_oauth'
require 'rspec'
Expand Down

0 comments on commit a4443c0

Please sign in to comment.