Skip to content

Commit cf133e5

Browse files
committed
1 parent e9b453d commit cf133e5

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.travis.yml

+3
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,11 @@ before_install:
4343
- |
4444
# supertest for http calls
4545
# - use 2.0.0 for Node.js < 4
46+
# - use 3.4.2 for Node.js < 6
4647
if [[ "$(cut -d. -f1 <<< "$TRAVIS_NODE_VERSION")" -lt 4 ]]; then
4748
npm install --save-dev [email protected]
49+
elif [[ "$(cut -d. -f1 <<< "$TRAVIS_NODE_VERSION")" -lt 6 ]]; then
50+
npm install --save-dev [email protected]
4851
fi
4952
# Update Node.js modules
5053
- |

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"mocha": "6.2.1",
2626
"nyc": "14.1.1",
2727
"safe-buffer": "5.2.0",
28-
"supertest": "3.4.2"
28+
"supertest": "4.0.2"
2929
},
3030
"files": [
3131
"HISTORY.md",

0 commit comments

Comments
 (0)