mirror of
https://github.com/samsonjs/simple_oauth.git
synced 2026-03-25 08:45:54 +00:00
Enforce code coverage minimums
This commit is contained in:
parent
b813b8b892
commit
a4443c04f5
3 changed files with 21 additions and 5 deletions
19
.travis.yml
19
.travis.yml
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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/)
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,11 @@ SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
|
|||
SimpleCov::Formatter::HTMLFormatter,
|
||||
Coveralls::SimpleCov::Formatter
|
||||
]
|
||||
SimpleCov.start
|
||||
|
||||
SimpleCov.start do
|
||||
add_filter '/spec/'
|
||||
minimum_coverage(100)
|
||||
end
|
||||
|
||||
require 'simple_oauth'
|
||||
require 'rspec'
|
||||
|
|
|
|||
Loading…
Reference in a new issue