mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
trying one more times to disable coveralls on 1.9.2
This commit is contained in:
parent
332321c312
commit
ee74d41940
2 changed files with 8 additions and 9 deletions
13
Rakefile
13
Rakefile
|
@ -189,11 +189,10 @@ require "tasks/changelog_task"
|
|||
Fog::Rake::ChangelogTask.new
|
||||
|
||||
task :coveralls_push_workaround do
|
||||
# use_coveralls = ( Gem::Version.new(RUBY_VERSION) > Gem::Version.new('1.9.2'))
|
||||
# # ENV['COVERAGE'] = 'false' if ( Gem::Version.new(RUBY_VERSION) <= Gem::Version.new('1.9.2'))
|
||||
# if (ENV['COVERAGE'] != 'false') && use_coveralls
|
||||
# require 'coveralls/rake/task'
|
||||
# Coveralls::RakeTask.new
|
||||
# Rake::Task["coveralls:push"].invoke
|
||||
# end
|
||||
use_coveralls = (Gem::Version.new(RUBY_VERSION) > Gem::Version.new('1.9.2'))
|
||||
if (ENV['COVERAGE'] != 'false') && use_coveralls
|
||||
require 'coveralls/rake/task'
|
||||
Coveralls::RakeTask.new
|
||||
Rake::Task["coveralls:push"].invoke
|
||||
end
|
||||
end
|
|
@ -1,7 +1,7 @@
|
|||
require 'simplecov'
|
||||
require 'coveralls'
|
||||
|
||||
unless ENV['COVERAGE'] == 'false'
|
||||
if ENV['COVERAGE'] != 'false' && RUBY_VERSION != "1.9.2"
|
||||
require 'coveralls'
|
||||
SimpleCov.command_name "shindo:#{Process.pid.to_s}"
|
||||
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
|
||||
SimpleCov::Formatter::HTMLFormatter,
|
||||
|
|
Loading…
Reference in a new issue