Skip to content

Commit ff7f72b

Browse files
authoredJan 16, 2017
Merge pull request #33 from MonkDev/code-coverage
Replace Coveralls with Codecov
2 parents 936b9a4 + 368a12a commit ff7f72b

File tree

4 files changed

+9
-13
lines changed

4 files changed

+9
-13
lines changed
 

‎README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Monk ID Ruby
44
[![Gem Version](https://img.shields.io/gem/v/monk-id.svg?style=flat)](http://badge.fury.io/rb/monk-id)
55
[![Build Status](https://img.shields.io/travis/MonkDev/monk-id-ruby/dev.svg?style=flat)](https://travis-ci.org/MonkDev/monk-id-ruby)
66
[![Code Climate](https://img.shields.io/codeclimate/github/MonkDev/monk-id-ruby.svg?style=flat)](https://codeclimate.com/github/MonkDev/monk-id-ruby)
7-
[![Coverage Status](https://img.shields.io/coveralls/MonkDev/monk-id-ruby/dev.svg?style=flat)](https://coveralls.io/r/MonkDev/monk-id-ruby?branch=dev)
7+
[![codecov](https://codecov.io/gh/MonkDev/monk-id-ruby/branch/dev/graph/badge.svg)](https://codecov.io/gh/MonkDev/monk-id-ruby)
88
[![Dependency Status](https://img.shields.io/gemnasium/MonkDev/monk-id-ruby.svg?style=flat)](https://gemnasium.com/MonkDev/monk-id-ruby)
99
[![Inline docs](http://inch-ci.org/github/MonkDev/monk-id-ruby.svg?branch=dev&style=flat)](http://inch-ci.org/github/MonkDev/monk-id-ruby)
1010

@@ -131,8 +131,8 @@ code coverage report to the `coverage` directory on every run of the test suite.
131131
Continuous integration is setup through [Travis CI](https://travis-ci.org/MonkDev/monk-id-ruby)
132132
to run the tests against Ruby v2.3 and v2.4. ([Circle CI](https://circleci.com/gh/MonkDev/monk-id-ruby)
133133
is also setup to run the tests against Ruby v2.3, but is backup for now until
134-
multiple versions can easily be specified.) The SimpleCov results are sent to
135-
[Coveralls](https://coveralls.io/r/MonkDev/monk-id-ruby) during CI for tracking
134+
multiple versions can easily be specified.) The code coverage results are sent
135+
to [Codecov](https://codecov.io/gh/MonkDev/monk-id-ruby) during CI for tracking
136136
over time. Badges for both are dispayed at the top of this README.
137137

138138
#### Manual

‎circle.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ machine:
44

55
general:
66
artifacts:
7-
- "coverage"
7+
- coverage
88

99
test:
1010
override:

‎monk-id.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
2121
spec.required_ruby_version = '>= 1.9.3'
2222

2323
spec.add_development_dependency 'bundler', '~> 1.6'
24-
spec.add_development_dependency 'coveralls', '~> 0.8.17'
24+
spec.add_development_dependency 'codecov', '~> 0.1.9'
2525
spec.add_development_dependency 'gem-release', '~> 0.7.4'
2626
spec.add_development_dependency 'rake', '~> 12.0.0'
2727
spec.add_development_dependency 'redcarpet', '~> 3.4.0'

‎spec/spec_helper.rb

+4-8
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,14 @@
11
require 'helpers'
22
require 'simplecov'
3-
require 'coveralls'
4-
5-
Coveralls.wear!
6-
7-
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
8-
SimpleCov::Formatter::HTMLFormatter,
9-
Coveralls::SimpleCov::Formatter
10-
]
113

124
SimpleCov.start do
135
add_filter '/spec/'
146
end
157

8+
require 'codecov'
9+
10+
SimpleCov.formatter = SimpleCov::Formatter::Codecov
11+
1612
require 'monk/id'
1713

1814
RSpec.configure do |config|

0 commit comments

Comments
 (0)
Please sign in to comment.