-
Notifications
You must be signed in to change notification settings - Fork 30.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PR-URL: #30904 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
- Loading branch information
1 parent
eac6143
commit 369a23a
Showing
2,611 changed files
with
156,477 additions
and
79,899 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"licenses": { | ||
"spdx": [ | ||
"CC-BY-3.0" | ||
], | ||
"blueOak": "bronze" | ||
}, | ||
"corrections": true, | ||
"packages": { | ||
"config-chain": "1.1.12", | ||
"cyclist": "0.2.2", | ||
"json-schema": "0.2.3", | ||
"qrcode-terminal": "0.12.0" | ||
} | ||
} |
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
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 |
---|---|---|
@@ -1,35 +1,52 @@ | ||
sudo: false | ||
# need to declare the language as well as the matrix below | ||
language: node_js | ||
|
||
os: | ||
- linux | ||
|
||
node_js: | ||
- 12 | ||
- 10 | ||
- 8 | ||
|
||
env: "DEPLOY_VERSION=testing" | ||
|
||
# having top-level `env:` adds a phantom build | ||
# https://github.com/travis-ci/travis-ci/issues/4681 | ||
#env: DEPLOY_VERSION=testing | ||
matrix: | ||
include: | ||
# LTS is our most important target | ||
- node_js: "8" | ||
# Run the sudotest, but only on Linux | ||
- node_js: "12" | ||
# DEPLOY_VERSION is used to set the couchapp setup mode for test/tap/registry.js | ||
# only gather coverage info for LTS | ||
env: DEPLOY_VERSION=testing COVERALLS_REPO_TOKEN="$COVERALLS_OPTIONAL_TOKEN" | ||
script: | ||
- "node . run tap-cover -- \"test/tap/*.js\"" | ||
- "unset COVERALLS_REPO_TOKEN ; node . run tap -- \"test/broken-under-*/*.js\"" | ||
# previous LTS is next most important | ||
- node_js: "6" | ||
env: DEPLOY_VERSION=testing | ||
# run the sudo tests, with coverage enabled | ||
- "sudo PATH=$PATH $(which node) . run tap -- \"test/tap/*.js\" --coverage --timeout 600" | ||
|
||
# also run standard and license checking | ||
- node_js: "10" | ||
env: DEPLOY_VERSION=testing | ||
- node_js: "9" | ||
env: DEPLOY_VERSION=testing | ||
script: | ||
- "standard" | ||
- "node . run tap -- \"test/tap/*.js\" \"test/broken-under-nyc/*.js\"" | ||
- "npx standard" | ||
- "node . run licenses" | ||
|
||
# separate out node 6 so we can turn off caching, because that | ||
# always breaks for some reason. | ||
- node_js: "6" | ||
cache: false | ||
env: "DEPLOY_VERSION=testing" | ||
|
||
# only run one test on Windows, because it's hella slow | ||
- node_js: "12" | ||
os: "windows" | ||
env: "DEPLOY_VERSION=testing" | ||
|
||
notifications: | ||
slack: npm-inc:kRqQjto7YbINqHPb1X6nS3g8 | ||
cache: | ||
directories: | ||
- node_modules/.cache | ||
|
||
install: | ||
- "node . install" | ||
|
||
script: | ||
- "node . run tap -- \"test/tap/*.js\" \"test/broken-under-nyc/*.js\"" | ||
- "node . run tap -- \"test/tap/*.js\" -t600 -Rclassic -c" |
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
Oops, something went wrong.