Skip to content

Commit 3691e24

Browse files
committed
* Use simplecov-cobertura like roadie-rails
1 parent 87c972b commit 3691e24

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Gemfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ source "https://rubygems.org"
44
gemspec
55

66
# Added here so it does not show up on the Gemspec; I only want it for CI builds
7-
gem "codecov", group: :test, require: false
7+
gem "simplecov", group: :test, require: false
8+
gem "simplecov-cobertura", group: :test, require: false
89
# Not actually required to run the tests for the gem, but a real convenience
910
# for local development.
1011
gem "standard", group: [:test, :development], require: false

spec/spec_helper.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
require "simplecov"
88
SimpleCov.start
99

10-
require "codecov"
11-
SimpleCov.formatter = SimpleCov::Formatter::Codecov
10+
require "simplecov-cobertura"
11+
SimpleCov.formatter = SimpleCov::Formatter::CoberturaFormatter
1212
end
1313

1414
$: << File.dirname(__FILE__) + "/../lib"

0 commit comments

Comments
 (0)