Skip to content

Commit

Permalink
Install codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
devxoul committed Sep 2, 2018
1 parent 451393d commit 01c0764
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,7 @@ group :development do
gem 'minitest', '~> 5.9'
gem 'webmock', '~> 2.3'
end

group :test do
gem 'codecov', :require => false
end
15 changes: 14 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,25 @@ GEM
specs:
addressable (2.5.0)
public_suffix (~> 2.0, >= 2.0.2)
codecov (0.1.10)
json
simplecov
url
colorize (0.8.1)
crack (0.4.3)
safe_yaml (~> 1.0.0)
docile (1.3.1)
hashdiff (0.3.2)
json (2.1.0)
minitest (5.9.1)
public_suffix (2.0.5)
safe_yaml (1.0.4)
simplecov (0.16.1)
docile (~> 1.1)
json (>= 1.8, < 3)
simplecov-html (~> 0.10.0)
simplecov-html (0.10.2)
url (0.3.2)
webmock (2.3.2)
addressable (>= 2.3.6)
crack (>= 0.3.2)
Expand All @@ -19,9 +31,10 @@ PLATFORMS
ruby

DEPENDENCIES
codecov
colorize (~> 0.8)
minitest (~> 5.9)
webmock (~> 2.3)

BUNDLED WITH
1.13.3
1.16.3
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

[![Gem](https://img.shields.io/gem/v/poeditor-cli.svg)](https://rubygems.org/gems/poeditor-cli)
[![Build Status](https://travis-ci.org/StyleShare/poeditor-cli.svg?branch=master)](https://travis-ci.org/StyleShare/poeditor-cli)
[![Codecov](https://img.shields.io/codecov/c/github/StyleShare/poeditor-cli.svg)](https://codecov.io/gh/StyleShare/poeditor-cli)

Command line application for [POEditor](https://poeditor.com).

Expand Down
3 changes: 3 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ignore:
- "test/"

8 changes: 8 additions & 0 deletions test/helper.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
require "simplecov"

SimpleCov.start

if ENV["CI"] == "true"
require "codecov"
SimpleCov.formatter = SimpleCov::Formatter::Codecov
end
1 change: 1 addition & 0 deletions test/test.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
require "minitest/autorun"
require "webmock/minitest"

require "helper"
require_relative "../lib/poeditor"

class Test < Minitest::Test
Expand Down

0 comments on commit 01c0764

Please sign in to comment.