Skip to content

Commit

Permalink
add code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Haithem Bel Haj committed Feb 15, 2016
1 parent df5fd3b commit b6706b8
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions .npmignore
Expand Up @@ -2,3 +2,4 @@
.DS_Store
node_modules
npm-debug.log
/coverage
2 changes: 2 additions & 0 deletions .travis.yml
Expand Up @@ -4,3 +4,5 @@ node_js:
- "4.0"
services:
- rabbitmq
after_success:
- npm run coveralls
1 change: 1 addition & 0 deletions README.md
@@ -1,6 +1,7 @@
[![Build Status](https://travis-ci.org/micro-node/client.svg)](http://travis-ci.org/micro-node/client)
[![Dependency Status](https://david-dm.org/micro-node/client.svg)](https://david-dm.org/micro-node/client)
[![devDependency Status](https://david-dm.org/micro-node/client/dev-status.svg)](https://david-dm.org/micro-node/client#info=devDependencies)
[![Coverage Status](https://coveralls.io/repos/github/micro-node/client/badge.svg?branch=master)](https://coveralls.io/github/micro-node/client?branch=master)
# AMQP RPC Client

This is an implementation of an AMQP RPC client using JSON-RPC 2.0.
Expand Down
7 changes: 6 additions & 1 deletion package.json
Expand Up @@ -8,6 +8,8 @@
"prepublish": "npm run build",
"pretest": "npm run build",
"test": "DEBUG=amqp mocha",
"cover": "istanbul cover _mocha",
"coveralls": "npm run cover -- --report lcovonly && cat ./coverage/lcov.info | coveralls",
"lint": "eslint lib/*.js",
"micro": "DEBUG=amqp micro ./test/services/fibonacci/index.js fib"
},
Expand Down Expand Up @@ -43,9 +45,12 @@
"babel-preset-es2015": "^6.3.13",
"babel-register": "^6.0.0",
"chai": "^3.3.0",
"coveralls": "^2.11.6",
"eslint": "^1.10.3",
"ghooks": "^1.0.1",
"istanbul": "^0.4.2",
"micro-node-launcher": "^0.2.2",
"mocha": "^2.3.4"
"mocha": "^2.3.4",
"mocha-lcov-reporter": "^1.0.0"
}
}

0 comments on commit b6706b8

Please sign in to comment.