A CLI tool that fetches and analyzes build pipeline history from Travis CI or Bitbucket Pipelines. Current stable version is 1.8.0. It offers commands to download, calculate averages, display history, and show success/failure stats. Designed for continuous integration environments, it supports private repositories via auth tokens, branch filtering, and customizable time periods. The tool caches data locally to avoid repeated API calls.
npm install build-statsNo compatibility data collected yet for this library.
Install and run build-stats CLI to download and calculate build statistics for a Travis CI repository.
Provide a valid authentication token using --auth <token>.
Use a larger period like 7 or 30 for smoother trends.
Set --last to the total number of periods (e.g., --period 30 --last 12 for 1 year).
Run build-stats from the directory where you want the .data cache folder.
Refer to GENERATING_AUTH_TOKENS.md for Bitbucket token instructions.
Use --auth with a valid token (see GENERATING_AUTH_TOKENS.md).
Use format like travis:owner/repo or bitbucket:owner/repo.
Run from a directory with write permissions or change directory.
No dependency data recorded yet.