Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
metrics and CI are for A students.
tree: 0eaf277a44

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
test
.gitignore
LICENSE
README.textile
Rakefile

README.textile

Pythagoras

Automatic building and reporting to campfire of metrics with metric_fu through integrity.

Features

  • Generates an entire metric_fu site for you based on your integrity projects
  • Notifies campfire of metric stats given that they have changed since the last run
  • Calculates the hypotenuse of a triangle

Requirements

  • An Integrity setup.
  • metric_fu
  • tinder

Usage

Run rake generate.

It’s probably best to do this on a cron job.

Setup

Have a config.yml file in your pythagoras directory with the following info:


# This is the path to integrity's config.yml file.
integrity_config: /home/ci/integrity/config.yml

# Where you want the site to be placed that metric_fu creates
site: /home/ci/pythagoras/_site

# A regular expression for project names you wish to ignore
ignore: '[^shoulda]|1\.9'

# The location of your site, for campfire reporting
url: http://metrics.thoughtbot.com

# Set to true if you would like to skip notifying campfire when metrics have changed
skip_notification: false

Thanks

To thoughtbot for supporting this project.

Something went wrong with that request. Please try again.