Skip to content

Commit 4b10996

Browse files
committed
[Tests] work around npm SSL issue
npm/npm#20191
1 parent fa6e6f5 commit 4b10996

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ node_js:
1616
- "0.8"
1717
- "0.6"
1818
before_install:
19+
- 'case "${TRAVIS_NODE_VERSION}" in 0.*) export NPM_CONFIG_STRICT_SSL=false ;; esac'
1920
- 'nvm install-latest-npm'
2021
install:
2122
- '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;'

0 commit comments

Comments
 (0)