mirror of
https://github.com/omniauth/omniauth.git
synced 2022-11-09 12:31:49 -05:00
Enforce code coverage minimums
This commit is contained in:
parent
d9683a8880
commit
3f561816bf
2 changed files with 28 additions and 6 deletions
29
.travis.yml
29
.travis.yml
|
@ -1,3 +1,8 @@
|
|||
before_install:
|
||||
- gem update bundler
|
||||
- bundle --version
|
||||
- gem update --system 2.1.11
|
||||
- gem --version
|
||||
bundler_args: --without development
|
||||
gemfile:
|
||||
- Gemfile
|
||||
|
@ -9,14 +14,28 @@ rvm:
|
|||
- 1.9.3
|
||||
- 2.0.0
|
||||
- 2.1.0
|
||||
- jruby-18mode
|
||||
- jruby-19mode
|
||||
- jruby-20mode
|
||||
- jruby-21mode
|
||||
- jruby-head
|
||||
- rbx
|
||||
- ruby-head
|
||||
matrix:
|
||||
include:
|
||||
- rvm: jruby-18mode
|
||||
env: JRUBY_OPTS="$JRUBY_OPTS --debug"
|
||||
gemfile: Gemfile
|
||||
- rvm: jruby-18mode
|
||||
env: JRUBY_OPTS="$JRUBY_OPTS --debug"
|
||||
gemfile: Gemfile.rack-1.3.x
|
||||
- rvm: jruby-19mode
|
||||
env: JRUBY_OPTS="$JRUBY_OPTS --debug"
|
||||
gemfile: Gemfile
|
||||
- rvm: jruby-19mode
|
||||
env: JRUBY_OPTS="$JRUBY_OPTS --debug"
|
||||
gemfile: Gemfile.rack-1.3.x
|
||||
- rvm: jruby-head
|
||||
env: JRUBY_OPTS="$JRUBY_OPTS --debug"
|
||||
gemfile: Gemfile
|
||||
- rvm: jruby-head
|
||||
env: JRUBY_OPTS="$JRUBY_OPTS --debug"
|
||||
gemfile: Gemfile.rack-1.3.x
|
||||
allow_failures:
|
||||
- rvm: jruby-head
|
||||
- rvm: ruby-head
|
||||
|
|
|
@ -5,7 +5,10 @@ SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
|
|||
SimpleCov::Formatter::HTMLFormatter,
|
||||
Coveralls::SimpleCov::Formatter
|
||||
]
|
||||
SimpleCov.start
|
||||
SimpleCov.start do
|
||||
add_filter '/spec/'
|
||||
minimum_coverage(93.05)
|
||||
end
|
||||
|
||||
require 'rspec'
|
||||
require 'rack/test'
|
||||
|
|
Loading…
Reference in a new issue