Socket
Book a DemoInstallSign in
Socket

travis-log-stream

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

travis-log-stream

Stream travis logs no matter if live or historic

latest
Source
npmnpm
Version
2.0.0
Version published
Maintainers
1
Created
Source

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 })

  • jobId: The travis job.id
  • appKey: The travis pusher app key, get via https://apitravis-ci.org/config (see https://docs.travis-ci.com/api#external-apis)
  • travis-logs — Stream live travis logs of the current commit to your terminal

License

MIT

FAQs

Package last updated on 07 May 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts