Skip to content

Commit 860f58b

Browse files
committed
ci: change script to run coveralls
1 parent f6a6b85 commit 860f58b

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.travis.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,3 @@ node_js:
77
- 4
88
- 0.12
99
- 0.10
10-
11-
after_success:
12-
- npm i coveralls
13-
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
],
1111
"devDependencies": {
1212
"chai": "^4.0.0",
13+
"coveralls": "^3.0.3",
1314
"jsdoc-to-markdown": "^4.0.1",
1415
"mocha": "^6.1.4",
1516
"nyc": "^14.1.0",
@@ -18,7 +19,8 @@
1819
},
1920
"scripts": {
2021
"lint": "standard --env mocha",
21-
"test": "nyc node_modules/mocha/bin/_mocha",
22+
"test": "nyc mocha",
23+
"coverage": "nyc report --reporter=text-lcov | coveralls",
2224
"docs": "jsdoc2md lib/*.js > RENDER.md",
2325
"release": "standard-version"
2426
},

0 commit comments

Comments
 (0)