Skip to content

Commit

Permalink
add covereals, lets see how it builds
Browse files Browse the repository at this point in the history
  • Loading branch information
osher committed Nov 6, 2017
1 parent 5dd54ab commit 5761da7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ node_js:
- "6"
- "7"
- "8"


after_success:
npm run coveralls
14 changes: 8 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,26 @@
},
"devDependencies": {
"async": "^2.5.0",
"coveralls": "^3.0.0",
"istanbul": "*",
"mocha": "^4.0.0",
"mocha-ui-exports": "^1.1.0",
"request": "^2.83.0",
"should": "^13.1.3"
},
"scripts": {
"test": "mocha",
"prepush": "mocha",
"cover": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot",
"cover-enforce": "node node_modules/istanbul/lib/cli.js check-coverage --function 90 --lines 85 --branches 75"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/osher/mock-web-server.git"
},
"publishConfig": {
"registry": "http://registry.npmjs.org/"
},
"scripts": {
"test": "mocha",
"posttest" : "npm run cover",
"prepush": "mocha",
"cover": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot",
"coveralls": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot && cat coverage/lcov.info | coveralls --verbose"
}
}

0 comments on commit 5761da7

Please sign in to comment.