Skip to content

Commit

Permalink
Add coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Zarouski committed Dec 7, 2016
1 parent db2c55f commit 76e4fe6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
language: node_js
node_js:
- "7"
- "6"
- "6"
script: npm run travisTest
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
},
"scripts": {
"test": "jest",
"travisTest": "npm test && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"dev": "rimraf dist&&babel -w src -d dist",
"preversion": "rimraf dist&&jest&&babel src -d dist"
},
Expand All @@ -18,6 +19,7 @@
"babel-cli": "^6.18.0",
"babel-jest": "^17.0.2",
"babel-preset-latest": "^6.6.0",
"coveralls": "^2.11.15",
"jest": "^17.0.3",
"rimraf": "^2.5.4"
},
Expand Down

0 comments on commit 76e4fe6

Please sign in to comment.