Skip to content

Commit

Permalink
Test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
matuzalemsteles committed May 30, 2017
1 parent 9a674ee commit 5d995d2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@ install:
script:
- npm run build
- npm run test

# Coveralls
after_success: npm run coverage
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@
"clean": "rimraf dist && mkdirp dist",
"rollup:umd": "rollup -c",
"minify:umd": "uglifyjs dist/sprintjs.js -cm -o dist/sprintjs.js --in-source-map dist/sprintjs.js.map --source-map filename=dist/sprintjs.js.map",
"test": "jest --coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"test": "jest --coverage",
"test:watch": "yarn run test --watch",
"coverage": "cat ./coverage/lcov.info | coveralls",
"size": "echo \"Gzipped Size: $(gzip-size $npm_package_main)\"",
"prepublish": "yarn run build"
},
Expand Down

0 comments on commit 5d995d2

Please sign in to comment.