2.2.3 • Published 7 years ago
travis-logs v2.2.3
travis-logs
Stream all available travis logs of the current repository's current commit to the terminal, until all jobs are finished!
Usage
$ cd ~/dev/level/leveldown
$ travis-logs
$ # or
$ travis-logs ~/dev/level/leveldown
Installation
$ npm install -g travis-logs
JS API
const logs = require('travis-logs')
logs('.')
.on('job', stream => {
stream.pipe(process.stdout, { end: false })
})
.on('pass', () => {
process.exit(0)
})
.on('fail', () => {
process.exit(1)
})
For more events, check out bin.js.
Related projects
- travis-watch — Stream live Travis test results of the current commit to your terminal!
- appveyor-watch — Stream live AppVeyor test results of the current commit to your terminal!
- ci-watch — Travis-Watch and AppVeyor-Watch combined!
- travis-log-stream — Read streaming travis logs, no matter if live or historic.
License
MIT