Socket
Book a DemoInstallSign in
Socket

render-ci-matrix

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

render-ci-matrix

Render a CI results matrix to the terminal

latest
Source
npmnpm
Version
2.2.0
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

render-ci-matrix

Render a CI results matrix to the terminal.

screenshot

Usage

Use this code to create the output above:

const render = require('render-ci-matrix')()

process.stdout.write(
  render({
    repo: ['juliangruber', 'render-ci-results'],
    build: {
      id: 13,
      number: 42,
      startedAt: Date.now() - 1500
    },
    commit: {
      found: true,
      branch: 'master'
    },
    success: true,
    link: 'https://travis-ci.org/juliangruber/render-ci-results/builds/13',
    results: {
      osx: {
        foo: {
          name: 'node 6',
          env: 'FOO=bar',
          startedAt: Date.now() - 1000,
          state: 'started'
        },
        bar: {
          name: 'ruby 1.0',
          state: 'queued'
        },
        beep: {
          name: 'php 5.2',
          startedAt: Date.now() - 10000,
          state: 'started'
        }
      },
      linux: {
        boop: {
          name: 'golang 1.0',
          state: 'queued'
        }
      }
    }
  })
)

Installation

$ npm install render-ci-matrix
  • travis-watch — Stream live travis test results of the current commit to your terminal!
  • appveyor-watch — Stream live AppVeyor test results of the current commit to your terminal!
  • cli-spinners — Spinners for use in the terminal

License

MIT

FAQs

Package last updated on 27 Apr 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts