Ruby coverage example
Latest commit 9dd0ba5 Aug 28, 2016 @stevepeak stevepeak committed on GitHub Update
Failed to load latest commit information.
lib initial commit Sep 22, 2014
test Only require codecov when needed Jan 5, 2016
.travis.yml add .travis.yml Sep 22, 2014
Gemfile initial commit Sep 22, 2014
Gemfile.lock initial commit Sep 22, 2014 Update Aug 28, 2016
Rakefile initial commit Sep 22, 2014
awesome.gemspec initial commit Sep 22, 2014

Codecov Ruby Example

Example of how to integrate with for your awesome Ruby project!

See this repos Coverage Reports


Add to your Gemfile

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

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

require 'simplecov'

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

In your CI Environment Variables (not needed for

CODECOV_TOKEN=<your repo token>

Find you repo token on your repo page at

Merging coverage results

Codecov handles merging reports automatically from all uploads and languages. However, depending on your setup, it may require merging coverage results before sending reports to Codecov. Here is a fine example on how to merge reports: