No commit activity in last 3 years
No release in over 3 years
Report a batch of codeclimate results by merging and from multiple servers
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0
 Project Readme

Deprecated, use builtin

Report a batch of codeclimate results by merging and from multiple servers.
Uses cc-amend to do the merging since workers will not share a common disk.

Install

gem install codeclimate_batch

Usage

# test_helper.rb
if ENV['CI']
  require 'codeclimate_batch'
  CodeclimateBatch.start
end
  • Will run when ENV['CODECLIMATE_REPO_TOKEN'] is set and running on master branch
  • If your default branch is not master, set ENV['DEFAULT_BRANCH']
  • Will also run on Pull Requests on Travis

After tests have finished:

# send coverage reports to cc-amend, unifying once 4 reports arrive
codeclimate-batch --groups 4

# custom key (when not using travis), must be the same on all hosts
codeclimate-batch --groups 4 --key my-app/$BUILD_NUMBER

Author

Michael Grosser
michael@grosser.it
License: MIT
Build Status