Skip to content

Commit 36b8804

Browse files
author
Raphael Freitas
committed
Update integration integration with travis/coveralls
1 parent a9afb6e commit 36b8804

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ node_js:
33
- "node"
44
before_script:
55
- "cd sample && npm install && npm run sync-lib && cd ../"
6+
script: npm run test-coveralls

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"version": "0.2.1",
55
"scripts": {
66
"test": "npm run linter && npm run flow && npm run coverage",
7-
"coverage": "jest --coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
7+
"test-coveralls": "npm test && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
8+
"coverage": "jest --coverage",
89
"test-reset": "npm test -- --updateSnapshot",
910
"linter": "eslint .",
1011
"flow": "flow",

0 commit comments

Comments
 (0)