Skip to content

Commit 101c025

Browse files
Workaround for a bug in Nyc that was causing CI builds to fail for Node 12 on Windows
1 parent 2073ffe commit 101c025

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ filter_secrets: false
77
language: node_js
88

99
node_js:
10-
- 10
1110
- 8
11+
- 10
12+
- 12
1213

1314
os:
1415
- linux

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
"build": "tsc",
4040
"watch": "tsc --watch",
4141
"test": "mocha && npm run lint",
42-
"coverage": "nyc --reporter=text --reporter=lcov mocha",
4342
"upgrade": "npm-check -u",
43+
"coverage": "nyc --reporter=text --reporter=lcov node_modules/mocha/bin/mocha",
4444
"bump": "bump --tag --push --all",
4545
"release": "npm run upgrade && npm run clean && npm run build && npm test && npm run bump"
4646
},

0 commit comments

Comments
 (0)