diff --git a/.gitignore b/.gitignore index ef4cc1c..5b0be68 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ node_modules coverage .idea -tmp \ No newline at end of file +.tags +tmp diff --git a/.travis.yml b/.travis.yml index 8df0cca..56ff5dd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,8 @@ node_js: - 0.12 - 4 - 5 +script: "npm run-script cover" +after_script: "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js" notifications: email: - lilleman@larvit.se diff --git a/README.md b/README.md index efd4648..f4b4c0a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ [![Build Status](https://travis-ci.org/larvit/larvitsmpp.svg)](https://travis-ci.org/larvit/larvitsmpp) [![Dependencies](https://david-dm.org/larvit/larvitsmpp.svg)](https://david-dm.org/larvit/larvitsmpp.svg) +[![Coverage Status](https://coveralls.io/repos/larvit/larvitsmpp/badge.svg)](https://coveralls.io/github/larvit/larvitsmpp) # Larv IT SMPP @@ -163,4 +164,4 @@ Incoming PDU Object. Same as incomingPdu, but it have been converted into an obj ### send -Send a PDU to the remote. \ No newline at end of file +Send a PDU to the remote. diff --git a/package.json b/package.json index 4e6553e..ea449e3 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,8 @@ }, "description": "Simplified SMPP implementation", "devDependencies": { + "coveralls": "^2.11.9", + "istanbul": "^0.4.3", "mocha": "^2.4.5", "portfinder": "^0.4.0" },