Skip to content

Commit b2b0325

Browse files
committed
Merge pull request #15 from Spy-Seth/coveralls
Add coveralls.io service.
2 parents 8f0894d + 1df9d97 commit b2b0325

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ node_js:
99
script:
1010
- npm test
1111
- npm run lint
12-
- npm run coverage
12+
- npm run coverage && npm run coverage-upload
1313

1414
notifications:
1515
email:

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
[![npm](https://img.shields.io/npm/v/skippy.svg)](https://www.npmjs.com/package/skippy)
44
[![Build Status](https://travis-ci.org/rezzza/skippy.svg?branch=master)](https://travis-ci.org/rezzza/skippy)
5+
[![Coverage Status](https://coveralls.io/repos/rezzza/skippy/badge.svg?branch=master&service=github)](https://coveralls.io/github/rezzza/skippy?branch=master)
56

67
Skippy is designed to be an easy to use, robust, and well tested dependencies container. No magic inside.
78

package.json

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,19 @@
22
"name": "skippy",
33
"version": "0.0.4",
44
"description": "Simple and robust dependency container.",
5-
"keywords": ["container", "dependency", "service", "injection", "dependency injection", "di"],
5+
"keywords": [
6+
"container",
7+
"dependency",
8+
"dependency injection",
9+
"di",
10+
"injection",
11+
"service"
12+
],
613
"main": "index.js",
714
"scripts": {
815
"bdd": "mocha --colors --reporter=dot --watch --recursive test",
9-
"coverage": "istanbul cover node_modules/.bin/_mocha -- --reporter=dot --recursive test ",
16+
"coverage": "istanbul cover node_modules/.bin/_mocha --report lcovonly -- --reporter=dot --recursive test",
17+
"coverage-upload": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
1018
"lint": "eslint --color .",
1119
"test": "mocha --colors --reporter=dot --recursive test"
1220
},
@@ -18,6 +26,7 @@
1826
"license": "MIT",
1927
"devDependencies": {
2028
"chai": "~3.2.0",
29+
"coveralls": "~2.11.3",
2130
"eslint": "~0.24.1",
2231
"istanbul": "~0.3.17",
2332
"mocha": "~2.2.5",

0 commit comments

Comments
 (0)