Skip to content

Commit 8c80e0d

Browse files
committed
1 parent 8732435 commit 8c80e0d

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ before_install:
3636
# - use 3.x for Node.js < 4
3737
# - use 5.x for Node.js < 6
3838
# - use 6.x for Node.js < 8
39+
# - use 7.x for Node.js < 10
3940
if [[ "$(cut -d. -f1 <<< "$TRAVIS_NODE_VERSION")" -eq 0 && "$(cut -d. -f2 <<< "$TRAVIS_NODE_VERSION")" -lt 10 ]]; then
4041
npm install --save-dev [email protected]
4142
elif [[ "$(cut -d. -f1 <<< "$TRAVIS_NODE_VERSION")" -lt 4 ]]; then
@@ -44,6 +45,8 @@ before_install:
4445
npm install --save-dev [email protected]
4546
elif [[ "$(cut -d. -f1 <<< "$TRAVIS_NODE_VERSION")" -lt 8 ]]; then
4647
npm install --save-dev [email protected]
48+
elif [[ "$(cut -d. -f1 <<< "$TRAVIS_NODE_VERSION")" -lt 10 ]]; then
49+
npm install --save-dev [email protected]
4750
fi
4851
- |
4952
# istanbul for coverage

appveyor.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ install:
4949
# - use 3.x for Node.js < 4
5050
# - use 5.x for Node.js < 6
5151
# - use 6.x for Node.js < 8
52+
# - use 7.x for Node.js < 10
5253
if ([int]$env:nodejs_version.split(".")[0] -eq 0 -and [int]$env:nodejs_version.split(".")[1] -lt 10) {
5354
npm install --silent --save-dev [email protected]
5455
} elseif ([int]$env:nodejs_version.split(".")[0] -lt 4) {
@@ -57,6 +58,8 @@ install:
5758
npm install --silent --save-dev [email protected]
5859
} elseif ([int]$env:nodejs_version.split(".")[0] -lt 8) {
5960
npm install --silent --save-dev [email protected]
61+
} elseif ([int]$env:nodejs_version.split(".")[0] -lt 10) {
62+
npm install --silent --save-dev [email protected]
6063
}
6164
# Update Node.js modules
6265
- ps: |

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"eslint-plugin-promise": "4.2.1",
2222
"eslint-plugin-standard": "4.0.1",
2323
"istanbul": "0.4.5",
24-
"mocha": "7.2.0",
24+
"mocha": "8.0.1",
2525
"safe-buffer": "5.1.2",
2626
"uid-safe": "2.1.5"
2727
},

0 commit comments

Comments
 (0)