Update simplecov dependency to >= 0.9
This commit is contained in:
parent
da86405a78
commit
04333b765b
28
.travis.yml
28
.travis.yml
|
@ -1,4 +1,7 @@
|
|||
bundler_args: --without development
|
||||
env:
|
||||
global:
|
||||
- JRUBY_OPTS="$JRUBY_OPTS --debug"
|
||||
gemfile:
|
||||
- Gemfile
|
||||
- Gemfile.rack-1.3.x
|
||||
|
@ -8,30 +11,15 @@ rvm:
|
|||
- 1.9.2
|
||||
- 1.9.3
|
||||
- 2.0.0
|
||||
- 2.1.0
|
||||
- 2.1
|
||||
- jruby-18mode
|
||||
- jruby-19mode
|
||||
- jruby-head
|
||||
- rbx-2
|
||||
- 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: rbx-2
|
||||
- rvm: ruby-head
|
||||
fast_finish: true
|
||||
|
|
4
Gemfile
4
Gemfile
|
@ -20,14 +20,14 @@ group :development do
|
|||
end
|
||||
|
||||
group :test do
|
||||
gem 'coveralls', :require => false
|
||||
gem 'coveralls'
|
||||
gem 'json', '>= 1.8.1', :platforms => [:jruby, :ruby_18, :ruby_19]
|
||||
gem 'mime-types', '~> 1.25', :platforms => [:jruby, :ruby_18]
|
||||
gem 'rack-test'
|
||||
gem 'rest-client', '~> 1.6.0', :platforms => [:jruby, :ruby_18]
|
||||
gem 'rspec', '~> 3.0'
|
||||
gem 'rubocop', '>= 0.23', :platforms => [:ruby_19, :ruby_20, :ruby_21]
|
||||
gem 'simplecov', :require => false
|
||||
gem 'simplecov', '>= 0.9'
|
||||
end
|
||||
|
||||
gemspec
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
if RUBY_VERSION >= '1.9'
|
||||
require 'simplecov'
|
||||
require 'coveralls'
|
||||
|
||||
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
|
||||
SimpleCov::Formatter::HTMLFormatter,
|
||||
Coveralls::SimpleCov::Formatter
|
||||
]
|
||||
SimpleCov.formatters = [SimpleCov::Formatter::HTMLFormatter, Coveralls::SimpleCov::Formatter]
|
||||
|
||||
SimpleCov.start do
|
||||
add_filter '/spec/'
|
||||
add_filter '/spec'
|
||||
minimum_coverage(93.05)
|
||||
end
|
||||
end
|
||||
|
||||
require 'rspec'
|
||||
require 'rack/test'
|
||||
|
|
Loading…
Reference in New Issue