-
-
Notifications
You must be signed in to change notification settings - Fork 16.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
884657d
commit 12310c5
Showing
4 changed files
with
25 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ package-lock.json | |
*.gz | ||
|
||
# Coveralls | ||
.nyc_output | ||
coverage | ||
|
||
# Benchmarking | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,6 +59,18 @@ install: | |
} elseif ([int]$env:nodejs_version.split(".")[0] -lt 12) { | ||
npm install --silent --save-dev [email protected] | ||
} | ||
- ps: | | ||
# nyc for test coverage | ||
# - use 10.3.2 for Node.js < 4 | ||
# - use 11.9.0 for Node.js < 6 | ||
# - use 14.1.1 for Node.js < 8 | ||
if ([int]$env:nodejs_version.split(".")[0] -lt 4) { | ||
npm install --silent --save-dev [email protected] | ||
} elseif ([int]$env:nodejs_version.split(".")[0] -lt 6) { | ||
npm install --silent --save-dev [email protected] | ||
} elseif ([int]$env:nodejs_version.split(".")[0] -lt 8) { | ||
npm install --silent --save-dev [email protected] | ||
} | ||
- ps: | | ||
# supertest for http calls | ||
# - use 2.0.0 for Node.js < 4 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters