1.17.4 • Published 5 years ago

travis-watch v1.17.4

Weekly downloads
5
License
MIT
Repository
github
Last release
5 years ago

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:

Related

  • 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

1.17.4

5 years ago

1.17.3

6 years ago

1.17.2

6 years ago

1.17.1

7 years ago

1.17.0

7 years ago

1.16.2

7 years ago

1.16.1

7 years ago

1.16.0

7 years ago

1.15.0

7 years ago

1.14.1

7 years ago

1.14.0

7 years ago

1.13.4

7 years ago

1.13.3

7 years ago

1.13.2

7 years ago

1.13.0

7 years ago

1.12.4

7 years ago

1.12.2

7 years ago

1.12.1

7 years ago

1.12.0

7 years ago

1.11.3

7 years ago

1.11.2

7 years ago

1.11.1

7 years ago

1.11.0

7 years ago

1.10.6

7 years ago

1.10.5

7 years ago

1.10.4

7 years ago

1.10.3

7 years ago

1.10.2

7 years ago

1.10.1

7 years ago

1.10.0

7 years ago

1.9.1

7 years ago

1.9.0

7 years ago

1.8.0

7 years ago

1.7.0

7 years ago

1.6.8

7 years ago

1.6.7

7 years ago

1.6.6

7 years ago

1.6.5

7 years ago

1.6.4

7 years ago

1.6.3

7 years ago

1.6.2

7 years ago

1.6.1

7 years ago

1.6.0

7 years ago

1.5.0

7 years ago

1.4.2

7 years ago

1.4.1

7 years ago

1.4.0

7 years ago

1.3.0

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago