commentator
v1.0.6
Published
Creates a comment on a pull request
Downloads
107
Readme
Commentator
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.