travis-log-stream

2.0.0 • Public • Published

travis-log-stream

Read streaming travis logs, no matter if live or historic.

This will read a job's log from the travis API first, and then if it's still running also continues streaming live log output via the Pusher endpoint. It also makes sure all the log chunks will arrive in the correct order.

Usage

const logStream = require('travis-log-stream')
 
logStream({
  jobId: process.argv[2] || '229631523',
  appKey: '5df8ac576dcccf4fd076'
}).pipe(process.stdout)

Installation

$ npm install travis-log-stream

API

logStream({ jobId, appKey })

Related projects

  • travis-logs — Stream live travis logs of the current commit to your terminal

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i travis-log-stream

Weekly Downloads

2

Version

2.0.0

License

MIT

Last publish

Collaborators

  • juliangruber