Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit cf3e010

Browse files
author
Jonatan Salas
committed
Added coveralls and codecov
Modified package.json
1 parent 9d7a965 commit cf3e010

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

‎.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,6 @@ branches:
1111
- master
1212
- /^greenkeeper-.*$/
1313
after_success:
14+
- npm run coverage
15+
- cat ./coverage/lcov.info | node_modules/.bin/coveralls --verbose
1416
- bash <(curl -s https://codecov.io/bash)

‎package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"main": "./lib/index.js",
66
"scripts": {
77
"build-lib": "babel-node ./tools/build-lib.js",
8-
"test": "mocha ./test --compilers js:babel-register"
8+
"test": "mocha ./test --compilers js:babel-register",
9+
"coverage": "babel-node ./node_modules/.bin/isparta cover _mocha"
910
},
1011
"repository": {
1112
"type": "git",
@@ -40,7 +41,9 @@
4041
"chai": "^3.5.0",
4142
"child-process-promise": "^2.0.3",
4243
"colors": "^1.1.2",
44+
"coveralls": "^2.11.11",
4345
"fs-extra-promise": "^0.4.0",
46+
"isparta": "^4.0.0",
4447
"mocha": "^2.5.3",
4548
"path": "^0.12.7",
4649
"rimraf-promise": "^2.0.0"

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /