This commit is contained in:
Douglas Christopher Wilson
2020-01-26 00:12:02 -05:00
parent f4e024fa22
commit dc05375213
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -45,6 +45,7 @@ before_install:
# - use 2.x for Node.js < 0.10
# - use 3.x for Node.js < 4
# - use 5.x for Node.js < 6
# - use 6.x for Node.js < 8
if [[ "$(cut -d. -f1 <<< "$TRAVIS_NODE_VERSION")" -eq 0 && "$(cut -d. -f2 <<< "$TRAVIS_NODE_VERSION")" -lt 8 ]]; then
npm install --save-dev [email protected]
elif [[ "$(cut -d. -f1 <<< "$TRAVIS_NODE_VERSION")" -eq 0 && "$(cut -d. -f2 <<< "$TRAVIS_NODE_VERSION")" -lt 10 ]]; then
@@ -53,6 +54,8 @@ before_install:
npm install --save-dev [email protected]
elif [[ "$(cut -d. -f1 <<< "$TRAVIS_NODE_VERSION")" -lt 6 ]]; then
npm install --save-dev [email protected]
elif [[ "$(cut -d. -f1 <<< "$TRAVIS_NODE_VERSION")" -lt 8 ]]; then
npm install --save-dev [email protected]
fi
- |
# supertest for http calls
+1 -1
View File
@@ -26,7 +26,7 @@
"eslint-plugin-promise": "4.2.1",
"eslint-plugin-standard": "4.0.1",
"istanbul": "0.4.5",
"mocha": "6.2.2",
"mocha": "7.0.0",
"supertest": "4.0.2"
},
"files": [