Update simplecov dependency to >= 0.9

This commit is contained in:
Erik Michaels-Ober 2014-07-22 08:56:34 +02:00
parent da86405a78
commit 04333b765b
3 changed files with 19 additions and 31 deletions

View File

@ -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

View File

@ -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

View File

@ -1,13 +1,13 @@
require 'simplecov'
require 'coveralls'
if RUBY_VERSION >= '1.9'
require 'simplecov'
require 'coveralls'
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
SimpleCov::Formatter::HTMLFormatter,
Coveralls::SimpleCov::Formatter
]
SimpleCov.start do
add_filter '/spec/'
minimum_coverage(93.05)
SimpleCov.formatters = [SimpleCov::Formatter::HTMLFormatter, Coveralls::SimpleCov::Formatter]
SimpleCov.start do
add_filter '/spec'
minimum_coverage(93.05)
end
end
require 'rspec'