Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 4 days 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 (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-08-09T01:36:55.000Z (over 8 years ago)
- Last Synced: 2024-04-15T02:14:37.456Z (7 months ago)
- Language: Shell
- Homepage:
- Size: 271 KB
- Stars: 7
- Watchers: 3
- 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
![Image](img/output.png)
## 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