Skip to content

Commit f59c28d

Browse files
committed
1 parent b06bc18 commit f59c28d

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

.travis.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,14 @@ before_install:
3030
- |
3131
# mocha for testing
3232
# - use 2.x for Node.js < 0.10
33-
# - use 3.x for Node.js < 6
33+
# - use 3.x for Node.js < 4
34+
# - use 5.x for Node.js < 6
3435
if [[ "$(cut -d. -f1 <<< "$TRAVIS_NODE_VERSION")" -eq 0 && "$(cut -d. -f2 <<< "$TRAVIS_NODE_VERSION")" -lt 10 ]]; then
3536
npm install --save-dev [email protected]
36-
elif [[ "$(cut -d. -f1 <<< "$TRAVIS_NODE_VERSION")" -lt 6 ]]; then
37+
elif [[ "$(cut -d. -f1 <<< "$TRAVIS_NODE_VERSION")" -lt 4 ]]; then
3738
npm install --save-dev [email protected]
39+
elif [[ "$(cut -d. -f1 <<< "$TRAVIS_NODE_VERSION")" -lt 6 ]]; then
40+
npm install --save-dev [email protected]
3841
fi
3942
- |
4043
# istanbul for coverage

appveyor.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,14 @@ install:
4242
- ps: |
4343
# mocha for testing
4444
# - use 2.x for Node.js < 0.10
45-
# - use 3.x for Node.js < 6
45+
# - use 3.x for Node.js < 4
46+
# - use 5.x for Node.js < 6
4647
if ([int]$env:nodejs_version.split(".")[0] -eq 0 -and [int]$env:nodejs_version.split(".")[1] -lt 10) {
4748
npm install --silent --save-dev [email protected]
48-
} elseif ([int]$env:nodejs_version.split(".")[0] -lt 6) {
49+
} elseif ([int]$env:nodejs_version.split(".")[0] -lt 4) {
4950
npm install --silent --save-dev [email protected]
51+
} elseif ([int]$env:nodejs_version.split(".")[0] -lt 6) {
52+
npm install --silent --save-dev [email protected]
5053
}
5154
# Update Node.js modules
5255
- 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.0.1",
2222
"eslint-plugin-standard": "4.0.0",
2323
"istanbul": "0.4.5",
24-
"mocha": "5.2.0",
24+
"mocha": "6.1.4",
2525
"safe-buffer": "5.1.2",
2626
"uid-safe": "2.1.5"
2727
},

0 commit comments

Comments
 (0)