Skip to content

Commit

Permalink
Merge pull request #1827 from browserify/fix-cert
Browse files Browse the repository at this point in the history
ci: Disable certificate check for very old npm
  • Loading branch information
goto-bus-stop committed Apr 4, 2018
2 parents 25c71db + 03ffac9 commit e333b14
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Expand Up @@ -10,6 +10,8 @@ node_js:
- "0.8"
- "0.6"
before_install:
# Old npm certs are untrusted https://github.com/npm/npm/issues/20191
- 'if [ "${TRAVIS_NODE_VERSION}" = "0.6" ] || [ "${TRAVIS_NODE_VERSION}" = "0.8" ]; then export NPM_CONFIG_STRICT_SSL=false; fi'
- 'nvm install-latest-npm'
install:
- 'if [ "${TRAVIS_NODE_VERSION}" = "0.6" ] || [ "${TRAVIS_NODE_VERSION}" = "0.9" ]; then nvm install --latest-npm 0.8 && npm install && nvm use "${TRAVIS_NODE_VERSION}"; else npm install; fi;'
Expand Down

0 comments on commit e333b14

Please sign in to comment.