Skip to content

Commit cb25482

Browse files
committed
Set NPM_CONFIG_STRICT_SSL=false for Node.js 0.8
1 parent 8d99dda commit cb25482

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
language: node_js
22
before_install:
3-
- nvm install-latest-npm
3+
# Old npm certs are untrusted https://github.com/npm/npm/issues/20191
4+
- 'if [ "${TRAVIS_NODE_VERSION}" = "0.8" ]; then export NPM_CONFIG_STRICT_SSL=false; fi'
5+
- 'nvm install-latest-npm'
46
matrix:
57
include:
68
- node_js: '0.8'

0 commit comments

Comments
 (0)