File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ before_install:
1919 # Setup Node.js version-specific dependencies
2020 - " test $TRAVIS_NODE_VERSION != '0.8' || npm rm --save-dev istanbul"
2121 - " test $(echo $TRAVIS_NODE_VERSION | cut -d. -f1) -ge 4 || npm rm --save-dev eslint"
22+ - " test $(echo $TRAVIS_NODE_VERSION | cut -d. -f1) -le 7 || npm install --only=dev https://github.com/sogaani/express.git#initial-support-http2 https://github.com/sogaani/supertest.git#http2"
2223 # Update Node.js modules
2324 - " test ! -d node_modules || npm prune"
2425 - " test ! -d node_modules || npm rebuild"
@@ -28,8 +29,6 @@ script:
2829 - " test -z $(npm -ps ls istanbul) || npm run-script test-ci"
2930 - " test -z $(npm -ps ls eslint) || npm run-script lint"
3031 # Run test script with http2
31- - " test $(echo $TRAVIS_NODE_VERSION | cut -d. -f1) -ge 8 || npm install https://github.com/sogaani/express.git#initial-support-http2 https://github.com/sogaani/supertest.git#http2"
32- - " test $(echo $TRAVIS_NODE_VERSION | cut -d. -f1) -ge 8 || npm test-http2"
33- - " test $(echo $TRAVIS_NODE_VERSION | cut -d. -f1) -ge 8 || npm run-script test-http2-ci"
32+ - " test $(echo $TRAVIS_NODE_VERSION | cut -d. -f1) -le 7 || npm run-script test-http2-ci"
3433after_script :
3534 - " test -e ./coverage/lcov.info && npm install coveralls@2 && cat ./coverage/lcov.info | coveralls"
You can’t perform that action at this time.
0 commit comments