Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Codecov Ruby Example

Guide

Travis Setup

Add to your .travis.yml file.

lang: ruby

script: bundle exec rake

rvm: 2.7

### Produce Coverage Reports

> Add to your `Gemfile`

```ruby
gem 'codecov', :require => false, :group => :test

Add to the top of your tests/helper.rb file

require 'simplecov'
SimpleCov.start

require 'codecov'
SimpleCov.formatter = SimpleCov::Formatter::Codecov

Caveats

Private Repo

Repository tokens are required for (a) all private repos, (b) public repos not using Travis-CI, CircleCI or AppVeyor. Find your repository token at Codecov and provide as an environment variable.

Links

About

Ruby coverage example

Topics

Resources

Releases

No releases published

Languages

You can’t perform that action at this time.