travis-watch

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

  • 所有者: juliangruber/travis-watch
  • 平台:
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

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

主要指标

概览
名称与所有者juliangruber/travis-watch
主编程语言JavaScript
编程语言JavaScript (语言数: 1)
平台
许可证MIT License
所有者活动
创建于2017-03-22 16:31:05
推送于2023-02-27 19:48:15
最后一次提交2022-02-11 10:28:15
发布数55
最新版本名称v1.17.4 (发布于 2019-08-22 23:48:08)
第一版名称v1.0.0 (发布于 2017-03-22 17:31:17)
用户参与
星数291
关注者数4
派生数9
提交数170
已启用问题?
问题数42
打开的问题数6
拉请求数30
打开的拉请求数3
关闭的拉请求数8
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?