README.md in face_control-0.6.0 vs README.md in face_control-0.7.0
- old
+ new
@@ -1,5 +1,8 @@
+[![Vexor](https://ci.vexor.io/projects/126da196-c8e6-46f0-8bc7-b5f8f4b49732/status.svg)](https://ci.vexor.io/ui/projects/126da196-c8e6-46f0-8bc7-b5f8f4b49732/builds)
+[![Coveralls](https://img.shields.io/coveralls/vassilevsky/face_control.svg)](https://coveralls.io/github/vassilevsky/face_control)
+
# Face Control
Comment on added lines of pull requests in [Atlassian Stash][].
Take comments from static checkers reports.
(Currently supports [RuboCop][] and [CoffeeLint][].)
@@ -10,12 +13,10 @@
gem install face_control
## Usage
- rubocop -f json -o rubocop.json
- coffeelint --reporter raw app/assets/javascripts > coffeelint_report.json
face-control <project> <repository> <pull_request_id>
It's natural to run this on a continuous integration server.
For example, here's a [Jenkins][] project setup:
@@ -41,11 +42,9 @@
export PULL_REQUEST_ID=`echo $GIT_BRANCH | cut -d / -f 3`
gem install rubocop face_control
npm install -g coffeelint
- rubocop -f json -o rubocop.json || true
- coffeelint --reporter raw app/assets/javascripts > coffeelint_report.json || true
face-control <project> <repository> $PULL_REQUEST_ID
If you don't want to receive RuboCop comments with certain severity level,
pass the severity in the `--skip-severity` option like so: