Skip to content

Commit 7b515a5

Browse files
committed
Attempt #2
1 parent c485e75 commit 7b515a5

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,6 @@ node_js:
33
- "7"
44
after_success:
55
- 'npm i -g codecov'
6-
- 'npm run report-coverage'
6+
- 'nyc mocha'
7+
- 'nyc report --reporter=lcov'
8+
- 'cat ./coverage/lcov.info > coverage.lcov'

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
"description": "An Express middleware to validate requests against JSON Schemas",
55
"main": "src/index.js",
66
"scripts": {
7-
"test": "mocha",
8-
"report-coverage": "nyc report --reporter=text-lcov mocha > coverage.lcov && codecov"
7+
"test": "mocha"
98
},
109
"repository": {
1110
"type": "git",

0 commit comments

Comments
 (0)