mirror of
https://github.com/endofunky/sidetiq.git
synced 2022-11-09 13:53:30 -05:00
Don't require coveralls on JRuby.
This commit is contained in:
parent
6245cc210b
commit
775a27a51c
2 changed files with 8 additions and 3 deletions
|
@ -26,5 +26,8 @@ Gem::Specification.new do |gem|
|
|||
gem.add_development_dependency 'sinatra'
|
||||
gem.add_development_dependency 'mocha'
|
||||
gem.add_development_dependency 'rack-test'
|
||||
|
||||
if RUBY_PLATFORM != "java"
|
||||
gem.add_development_dependency 'coveralls'
|
||||
end
|
||||
end
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
if RUBY_PLATFORM != "java"
|
||||
require 'coveralls'
|
||||
Coveralls.wear!
|
||||
end
|
||||
|
||||
require 'minitest/autorun'
|
||||
require 'mocha/setup'
|
||||
|
|
Loading…
Reference in a new issue