mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Remove coveralls
This commit is contained in:
parent
b428a858ac
commit
9e832323a6
3 changed files with 1 additions and 14 deletions
1
Gemfile
1
Gemfile
|
@ -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
|
||||
|
|
|
@ -9,7 +9,6 @@ fog is the Ruby cloud services library, top to bottom:
|
|||
[](http://travis-ci.org/fog/fog)
|
||||
[](https://gemnasium.com/fog/fog)
|
||||
[](https://codeclimate.com/github/fog/fog)
|
||||
[](https://coveralls.io/r/fog/fog?branch=master)
|
||||
[](http://badge.fury.io/rb/fog)
|
||||
[](https://www.gittip.com/geemus/)
|
||||
|
||||
|
|
13
Rakefile
13
Rakefile
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue