We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c485e75 commit 7b515a5Copy full SHA for 7b515a5
.travis.yml
@@ -3,4 +3,6 @@ node_js:
3
- "7"
4
after_success:
5
- 'npm i -g codecov'
6
- - 'npm run report-coverage'
+ - 'nyc mocha'
7
+ - 'nyc report --reporter=lcov'
8
+ - 'cat ./coverage/lcov.info > coverage.lcov'
package.json
@@ -4,8 +4,7 @@
"description": "An Express middleware to validate requests against JSON Schemas",
"main": "src/index.js",
"scripts": {
- "test": "mocha",
- "report-coverage": "nyc report --reporter=text-lcov mocha > coverage.lcov && codecov"
+ "test": "mocha"
9
},
10
"repository": {
11
"type": "git",
0 commit comments