https://github.com/juliangruber/travis-watch
Stream live travis test results of the current commit to your terminal!
https://github.com/juliangruber/travis-watch
ci cli dx terminal travis
Last synced: 2 months ago
JSON representation
Stream live travis test results of the current commit to your terminal!
- Host: GitHub
- URL: https://github.com/juliangruber/travis-watch
- Owner: juliangruber
- License: mit
- Created: 2017-03-22T16:31:05.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-02-27T19:48:15.000Z (over 2 years ago)
- Last Synced: 2025-03-29T22:07:58.952Z (2 months ago)
- Topics: ci, cli, dx, terminal, travis
- Language: JavaScript
- Homepage:
- Size: 1.1 MB
- Stars: 292
- Watchers: 4
- Forks: 9
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# travis-watch [](https://travis-ci.org/juliangruber/travis-watch) [](https://greenkeeper.io/)
Stream live travis test results of the current commit to your terminal. Exits with the proper exit code too!

## Installation
```bash
$ npm install -g travis-watch
```## Usage
```bash
$ travis-watch --help
Usage: travis-watch [DIRECTORY]
```## Supported build environments
- Node.js
- Ruby
- PHP
- Go
- PythonFor more, please [open an issue](https://github.com/juliangruber/travis-watch/issues/new).
## JavaScript API
```js
const differ = require('ansi-diff-stream')
const render = require('render-ci-matrix')()
const Watch = require('travis-watch')const diff = differ()
diff.pipe(process.stdout)const watch = new Watch(process.cwd())
watch.start()setInterval(
() => diff.write(render(watch.state)),
100
)watch.on('finish', () => {
diff.write(render(watch.state))
process.exit(!watch.state.success)
})
```## Kudos
- Development of this module is sponsored by the [Dat Project](https://datproject.org/).
- Travis is :heart:## Related
- __[appveyor-watch](https://github.com/juliangruber/appveyor-watch)__ — Stream live AppVeyor test results of the current commit to your terminal!
- __[ci-watch](https://github.com/juliangruber/ci-watch)__ — Travis-Watch and AppVeyor-Watch combined!
- __[travis-logs](https://github.com/juliangruber/travis-logs)__ — Stream live travis logs to your terminal!
- __[ansi-diff-stream](https://github.com/mafintosh/ansi-diff-stream)__ — A transform stream that diffs input buffers and outputs the diff as ANSI. If you pipe this to a terminal it will update the output with minimal changes
- __[render-ci-matrix](https://github.com/juliangruber/render-ci-matrix)__ — Render a CI results matrix to the terminal.## Sponsors
This module is proudly supported by my [Sponsors](https://github.com/juliangruber/sponsors)!
Do you want to support modules like this to improve their quality, stability and weigh in on new features? Then please consider donating to my [Patreon](https://www.patreon.com/juliangruber). Not sure how much of my modules you're using? Try [feross/thanks](https://github.com/feross/thanks)!
## License
MIT