https://github.com/cmdcolin/travigraph
Graph travis-ci build times using command line tools. Deprecated in favor of https://github.com/cmdcolin/travigraphjs
https://github.com/cmdcolin/travigraph
Last synced: about 1 year ago
JSON representation
Graph travis-ci build times using command line tools. Deprecated in favor of https://github.com/cmdcolin/travigraphjs
- Host: GitHub
- URL: https://github.com/cmdcolin/travigraph
- Owner: cmdcolin
- Created: 2015-04-30T07:32:34.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2016-08-09T01:36:55.000Z (almost 10 years ago)
- Last Synced: 2025-03-26T04:51:10.438Z (over 1 year ago)
- Language: Shell
- Homepage:
- Size: 271 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Travigraph
This program uses the command line tools for Travis-CI to download the build statistics on a given project
and then it graphs the results using R and ggplot2.
The main program travigraph runs ruby-based travis command line tool to get build times and runs [jq](http://stedolan.github.io/jq/) and plot.R to format the output.
## Pre-requisites
- travis command line tool e.g. `gem install travis`
- jq, a javascript JSON parser `brew install jq`
- R packages e.g. 'ggplot2', 'lubridate', 'scales', 'RColorBrewer'
Note: the travis command line tool should also be authenticated to your account. See http://www.rubydoc.info/gems/travis/1.8.0 for more info.
## Example

## Usage
travigraph -r username/repo -s 50 -e 1000
## Required options
-r Repo as username/reponame, doesn't have to be your own! (required)
-s Starting build number to process (required)
-e Ending build number to process (required)
## Other options
-o Output image file. Default: output.png
-t Temp directory to store intermediate files. Default: ./tmpdir
-w Width of image. Default: 1000
-h Height of image. Default: 600
-cached Use pre-existing data that has been downloaded into the tmpdir (and download things that don't yet exist too)
-version Print program version
## Notes
Builds are normally "paged" 25 at a time via the API.
The travis API is case sensitive so the username/reponame should match exactly what is on github