Skip to content

Commit d92f44a

Browse files
author
root
committed
Remove simplecov-rcov gem
1 parent b11dc42 commit d92f44a

File tree

4 files changed

+3
-21
lines changed

4 files changed

+3
-21
lines changed

Diff for: Gemfile

-4
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,6 @@ group :development, :test do
5050

5151
# Code coverage
5252
gem 'simplecov', '~> 0.9.1'
53-
gem 'simplecov-rcov'
54-
55-
# Junit results
56-
gem 'ci_reporter_rspec', '~> 1.0.0'
5753

5854
# Publish to Coveralls
5955
gem 'coveralls', require: false

Diff for: contrib/travis/data/gem_files/rails4.gemfile

-4
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,6 @@ group :development, :test do
4545

4646
# Code coverage
4747
gem 'simplecov', '~> 0.9.1'
48-
gem 'simplecov-rcov'
49-
50-
# Junit results
51-
gem 'ci_reporter_rspec', '~> 1.0.0'
5248

5349
# Publish to Coveralls
5450
gem 'coveralls', require: false

Diff for: lib/tasks/ci_tools.rake

+3-11
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
11
namespace :redmine_git_hosting do
22

33
namespace :ci do
4-
begin
5-
require 'ci/reporter/rake/rspec'
64

7-
RSpec::Core::RakeTask.new do |task|
8-
task.rspec_opts = 'plugins/redmine_git_hosting/spec --color'
9-
end
10-
rescue Exception => e
11-
else
12-
ENV['CI_REPORTS'] = Rails.root.join('junit').to_s
5+
RSpec::Core::RakeTask.new do |task|
6+
task.rspec_opts = 'plugins/redmine_git_hosting/spec --color'
137
end
148

159
desc 'Check unit tests results'
@@ -46,7 +40,7 @@ namespace :redmine_git_hosting do
4640
end
4741
end
4842

49-
task all: ['ci:setup:rspec', 'spec', 'check_unit_tests_results']
43+
task all: ['spec', 'check_unit_tests_results']
5044

5145
def ls_dir(dir)
5246
puts "* ls -hal #{dir}"
@@ -56,9 +50,7 @@ namespace :redmine_git_hosting do
5650

5751
end
5852

59-
6053
task default: 'redmine_git_hosting:ci:all'
61-
task spec: 'redmine_git_hosting:ci:all'
6254
task rspec: 'redmine_git_hosting:ci:all'
6355
task test: 'redmine_git_hosting:ci:all'
6456

Diff for: spec/root_spec_helper.rb

-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
unless ENV['DISABLE_COVERAGE'] == 'true'
22
require 'simplecov'
3-
require 'simplecov-rcov'
43
require 'coveralls'
54
require 'codeclimate-test-reporter'
65

76
## Configure SimpleCov
87
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
98
SimpleCov::Formatter::HTMLFormatter,
10-
SimpleCov::Formatter::RcovFormatter
119
# Coveralls::SimpleCov::Formatter,
1210
# CodeClimate::TestReporter::Formatter
1311
]

0 commit comments

Comments
 (0)