Skip to content

Commit

Permalink
Add coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
CedricFinance committed Sep 27, 2015
1 parent e490a37 commit ee56004
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ node_js:
- "0.10"
- "iojs"
script:
- npm test
- npm run coveralls
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[![Build Status](https://travis-ci.org/CedricFinance/node-tx29.svg?branch=master)](https://travis-ci.org/CedricFinance/node-tx29)
[![Coverage Status](https://coveralls.io/repos/CedricFinance/node-tx29/badge.svg?branch=master&service=github)](https://coveralls.io/github/CedricFinance/node-tx29?branch=master)

# node-tx29

Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"description": "Decode data from jeenode-tx29",
"main": "src/index.js",
"scripts": {
"test": "mocha"
"test": "mocha",
"coveralls": "istanbul cover _mocha --report lcovonly && cat coverage/lcov.info | coveralls"
},
"repository": {
"type": "git",
Expand All @@ -22,6 +23,8 @@
"homepage": "https://github.com/CedricFinance/node-tx29#readme",
"devDependencies": {
"chai": "^3.3.0",
"coveralls": "^2.11.4",
"istanbul": "^0.3.21",
"mocha": "^2.3.3",
"sinon": "^1.17.1",
"sinon-chai": "^2.8.0"
Expand Down

0 comments on commit ee56004

Please sign in to comment.