mirror of
https://github.com/hanzoai/cookie-parser.git
synced 2026-09-24 16:58:03 +00:00
build: [email protected]
This commit is contained in:
@@ -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
@@ -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": [
|
||||
|
||||
Reference in New Issue
Block a user