npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

travis-logs

2.2.3

@juliangruber

npmHomeRepoSnykSocket
Downloads:21
$ npm install travis-logs
DailyWeeklyMonthlyYearly

travis-logs Build Status

Stream all available travis logs of the current repository's current commit to the terminal, until all jobs are finished!

screenshot

screenshot

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