1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Merge pull request #2929 from icco/down_with_clothes

Remove coveralls
This commit is contained in:
Wesley Beary 2014-05-20 11:44:52 -04:00
commit 2ff0006b75
4 changed files with 1 additions and 27 deletions

View file

@ -2,7 +2,6 @@ source "https://rubygems.org"
group :development, :test do
# This is here because gemspec doesn't support require: false
gem 'coveralls', :require => false
gem "netrc", :require => false
gem "octokit", :require => false
end

View file

@ -9,7 +9,6 @@ fog is the Ruby cloud services library, top to bottom:
[![Build Status](https://secure.travis-ci.org/fog/fog.png?branch=master)](http://travis-ci.org/fog/fog)
[![Dependency Status](https://gemnasium.com/fog/fog.png)](https://gemnasium.com/fog/fog)
[![Code Climate](https://codeclimate.com/github/fog/fog.png)](https://codeclimate.com/github/fog/fog)
[![Coverage Status](https://coveralls.io/repos/fog/fog/badge.png?branch=master)](https://coveralls.io/r/fog/fog?branch=master)
[![Gem Version](https://fury-badge.herokuapp.com/rb/fog.png)](http://badge.fury.io/rb/fog)
[![Gittip](http://img.shields.io/gittip/geemus.png)](https://www.gittip.com/geemus/)

View file

@ -48,7 +48,7 @@ end
GEM_NAME = "#{name}"
task :default => :test
task :travis => ['test', 'test:travis', 'coveralls_push_workaround']
task :travis => ['test', 'test:travis']
Rake::TestTask.new do |t|
t.pattern = File.join("**", "spec", "**", "*_spec.rb")
@ -57,8 +57,6 @@ end
namespace :test do
mock = 'true' || ENV['FOG_MOCK']
task :travis do
# jruby coveralls causes an OOM in travis
ENV['COVERAGE'] = 'false' if RUBY_PLATFORM == 'java'
sh("export FOG_MOCK=#{mock} && bundle exec shindont")
end
task :vsphere do
@ -212,12 +210,3 @@ Fog::Rake::ChangelogTask.new
require "tasks/github_release_task"
Fog::Rake::GithubReleaseTask.new
task :coveralls_push_workaround do
use_coveralls = (Gem::Version.new(String.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

View file

@ -1,16 +1,3 @@
require 'simplecov'
if ENV['COVERAGE'] == 'true' && RUBY_VERSION != "1.9.2"
require 'coveralls'
SimpleCov.command_name "shindo:#{Process.pid.to_s}"
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
SimpleCov::Formatter::HTMLFormatter,
Coveralls::SimpleCov::Formatter
]
SimpleCov.merge_timeout 3600
SimpleCov.start
end
ENV['FOG_RC'] = ENV['FOG_RC'] || File.expand_path('../.fog', __FILE__)
ENV['FOG_CREDENTIAL'] = ENV['FOG_CREDENTIAL'] || 'default'