Stream live appveyor test results of the current commit to your terminal. Exits with the proper exit code too!
$ npm install -g appveyor-watch
$ appveyor-watch --help
Usage: appveyor-watch [DIRECTORY]
const differ = require('ansi-diff-stream')
const render = require('render-ci-matrix')()
const Watch = require('appveyor-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)
})
- Development of this module is sponsored by the Dat Project.
- travis-watch — Stream live travis test results of the current commit 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.
MIT