travis-watch

Stream live travis test results of the current commit to your terminal!

  • Owner: juliangruber/travis-watch
  • Platform:
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

travis-watch Build Status Greenkeeper badge

Stream live travis test results of the current commit to your terminal. Exits with the proper exit code too!

screenshot

Installation

$ npm install -g travis-watch

Usage

$ travis-watch --help
Usage: travis-watch [DIRECTORY]

Supported build environments

  • Node.js
  • Ruby
  • PHP
  • Go
  • Python

For more, please open an issue.

JavaScript API

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.
  • Travis is :heart:
  • appveyor-watch — Stream live AppVeyor test results of the current commit to your terminal!
  • ci-watch — Travis-Watch and AppVeyor-Watch combined!
  • travis-logs — Stream live travis logs to your terminal!
  • 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 — Render a CI results matrix to the terminal.

Sponsors

This module is proudly supported by my 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. Not sure how much of my modules you're using? Try feross/thanks!

License

MIT

Overview

Name With Ownerjuliangruber/travis-watch
Primary LanguageJavaScript
Program languageJavaScript (Language Count: 1)
Platform
License:MIT License
Release Count55
Last Release Namev1.17.4 (Posted on 2019-08-22 23:48:08)
First Release Namev1.0.0 (Posted on 2017-03-22 17:31:17)
Created At2017-03-22 16:31:05
Pushed At2023-02-27 19:48:15
Last Commit At2022-02-11 10:28:15
Stargazers Count292
Watchers Count5
Fork Count24
Commits Count170
Has Issues Enabled
Issues Count42
Issue Open Count6
Pull Requests Count30
Pull Requests Open Count3
Pull Requests Close Count8
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private
To the top