Skip to content

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

License

Notifications You must be signed in to change notification settings

juliangruber/appveyor-watch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

appveyor-watch

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

screenshot

Installation

$ npm install -g appveyor-watch

Usage

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

JavaScript API

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

Kudos

  • Development of this module is sponsored by the Dat Project.

Related

  • 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.

License

MIT

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published