Skip to content

Commit b6ac613

Browse files
committed
1 parent 2b139bf commit b6ac613

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.travis.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@ language:
44
node_js:
55
- "6"
66
env:
7-
- ACTION=test
87
- ACTION="run lint"
98
- ACTION="run cs-check"
109
- ACTION="run dist"
10+
- ACTION="test && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
1111
script:
12-
- npm $ACTION
13-
- node --harmony_proxies node_modules/.bin/jest --coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
12+
- npm $ACTION

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"precommit": "lint-staged",
1515
"publish-to-npm": "npm run dist && npm version patch && npm publish",
1616
"tdd": "jest --watchAll",
17-
"test": "jest"
17+
"test": "jest --coverage"
1818
},
1919
"jest": {
2020
"verbose": true,

0 commit comments

Comments
 (0)