Skip to content

Commit

Permalink
Integrate codecov code coverage measurement.
Browse files Browse the repository at this point in the history
  • Loading branch information
mscavnicky committed Jun 2, 2016
1 parent 1ff6f1c commit b5417f7
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
coverage
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# csvp

[![Build Status](https://travis-ci.org/mscavnicky/csvp.svg?branch=master)](https://travis-ci.org/mscavnicky/csvp)
[![codecov](https://codecov.io/gh/mscavnicky/csvp/branch/master/graph/badge.svg)](https://codecov.io/gh/mscavnicky/csvp)

`csvp` helps you effortlessly print enumerables as CSV. Supports basic Ruby (Array, Hash, Set, Struct, OpenStruct) and ActiveRecord (Base, Relation) structures.

Expand Down
1 change: 1 addition & 0 deletions csvp.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ Gem::Specification.new do |s|
s.add_development_dependency 'pry-byebug', '~> 3.3.0'
s.add_development_dependency 'activerecord', '~> 4.2.6'
s.add_development_dependency 'sqlite3', '~> 1.3.11'
s.add_development_dependency 'codecov', '~> 0.1.4'
end
8 changes: 8 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
require 'simplecov'
SimpleCov.start

if ENV['CI']
require 'codecov'
SimpleCov.formatter = SimpleCov::Formatter::Codecov
end

require 'csvp'

0 comments on commit b5417f7

Please sign in to comment.