covwatcher-client
Client for the covwatcher server. Used to upload reports.
Last updated 3 months ago by fochlac .
ISC · Original npm · Tarball · package.json
$ cnpm install covwatcher-client 
SYNC missed versions from official npm registry.

covwatcher-client

codecov CircleCI npm

Client module for Covwatcher

Installation

Install the client in your target repo

npm install covwatcher-client

Documentation

The client is available as executeable covwatcher and can upload reports via commandline parameters or environment variables:

shorthand long version description environment variable required
-n --name name of the branch or if this is a pullrequest its id COVWATCHER_BRANCH_NAME *
-t --target branchtype, can be "branch" or "pullrequest" COVWATCHER_BRANCH_TYPE *
-y --type repository type, can be "users" or "project" COVWATCHER_REPO_TYPE *
-p --project name of the project or user the repository is part of COVWATCHER_REPO_PROJECT *
-r --repo name of the repository COVWATCHER_REPO *
-s --server full url to the server running covwatcher COVWATCHER_SERVER *
-d --directory full path to the coverage report COVWATCHER_REPORT
-a --task wether to create a task if the diff coverage is low
-l --lcov full url to the server hosting the lcov report
-b --bail whether to return nonnull status on failure
-h --help usage information

The command covwatcher -n "master" -t "branch" -y "users" -p "Fochlac" -r "covwatcher" -s "http://covwatcher.fochlac.com" will start a search for the closest coverage file and upload it to the specified server. The search will start from the location of this package, so it should always be installed in the specific repository you want searched or you should provide the full path to the report via the -d option.

Changelog

License

ISC License

Current Tags

  • 1.9.0                                ...           latest (3 months ago)

12 Versions

  • 1.9.0                                ...           3 months ago
  • 1.8.0                                ...           3 months ago
  • 1.7.0                                ...           3 months ago
  • 1.6.0                                ...           4 months ago
  • 1.5.0                                ...           4 months ago
  • 1.4.0                                ...           4 months ago
  • 1.3.0                                ...           4 months ago
  • 1.2.0                                ...           4 months ago
  • 1.1.1                                ...           4 months ago
  • 1.1.0                                ...           4 months ago
  • 1.0.1                                ...           4 months ago
  • 1.0.0                                ...           4 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 12
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |