Skip to content

Commit

Permalink
Added coverage reporting with coveralls. (#432)
Browse files Browse the repository at this point in the history
  • Loading branch information
lightswitch05 authored and hyperlink committed Aug 8, 2016
1 parent 202d45a commit a665693
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,5 @@ before_install:
after_failure:
- docker ps
- docker-compose logs
after_success:
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ Kafka-node

[![NPM](https://nodei.co/npm/kafka-node.png)](https://nodei.co/npm/kafka-node/)
[![NPM](https://nodei.co/npm-dl/kafka-node.png?height=3)](https://nodei.co/npm/kafka-node/)
[![Build Status](https://travis-ci.org/SOHU-Co/kafka-node.svg?branch=master)](https://travis-ci.org/SOHU-Co/kafka-node)
[![Coverage Status](https://coveralls.io/repos/github/SOHU-Co/kafka-node/badge.svg?branch=master)](https://coveralls.io/github/SOHU-Co/kafka-node?branch=master)

Kafka-node is a Node.js client with Zookeeper integration for Apache Kafka 0.8.1 and later.

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"snappy": "^5.0.5"
},
"devDependencies": {
"coveralls": "^2.11.12",
"doctoc": "^1.2.0",
"eslint": "^2.13.1",
"eslint-config-semistandard": "^6.0.2",
Expand Down

0 comments on commit a665693

Please # to comment.