зеркало из https://github.com/microsoft/fog.git
Remove coveralls
This commit is contained in:
Родитель
b428a858ac
Коммит
9e832323a6
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:
|
|||
[![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/)
|
||||
|
||||
|
|
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
|
||||
|
|
Загрузка…
Ссылка в новой задаче