Skip to content

Commit 6de066b

Browse files
author
Tom Kirkpatrick
committed
test: setup coveralls support
1 parent d6aedc5 commit 6de066b

File tree

3 files changed

+79
-0
lines changed

3 files changed

+79
-0
lines changed

circle.yml

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
machine:
22
node:
33
version: 6.1.0
4+
test:
5+
post:
6+
- npm run coverage
47
deployment:
58
master:
69
branch: master

package-lock.json

+74
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"test": "NODE_ENV=test nyc --reporter=lcov --reporter=text --reporter=text-summary mocha test/*test.js",
2020
"test:watch": "npm run test -- -w",
2121
"pretest": "npm run lint",
22+
"coverage": "nyc report --reporter=text-lcov | coveralls",
2223
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
2324
"commitmsg": "validate-commit-msg"
2425
},
@@ -33,6 +34,7 @@
3334
"chai": "4.0.2",
3435
"condition-circle": "1.5.0",
3536
"conventional-commit-types": "2.1.0",
37+
"coveralls": "2.13.1",
3638
"eslint": "4.1.1",
3739
"eslint-config-fullcube": "3.0.0",
3840
"husky": "0.14.1",

0 commit comments

Comments
 (0)