commentator

1.0.6 • Public • Published

Commentator

Greenkeeper badge A simple pull-request (PR) comentator for travis.

Usage

Edit your travis.yml with the message you'd like to comment your PR with.

    language: node_js
    cache:
      directories:
        - node_modules
    notifications:
      email: false
    node_js:
      - '7'
    before_install:
+     - npm i -g commentator
    before_script:
      - npm prune
+     - npm run coverage | commentator
    after_success:
      - npm run semantic-release
    branches:
      except:
        - /^v\d+\.\d+\.\d+$/

Everytime now when travis runs the above npm run coverage script it will comment the results on the PR.

Readme

Keywords

none

Package Sidebar

Install

npm i commentator

Weekly Downloads

1

Version

1.0.6

License

ISC

Unpacked Size

54 kB

Total Files

10

Last publish

Collaborators

  • tusharmathur