From bc12ff1b6cdb9577fe6fee2e48b383412c6237f3 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Sat, 20 Jan 2018 20:09:38 -0500 Subject: [PATCH] build: fix Node.js 0.8 npm install --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 49005b41..472364a6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,6 +19,8 @@ cache: before_install: # Skip updating shrinkwrap / lock - "npm config set shrinkwrap false" + # SSL certificate not in older Node.js versions + - "test $TRAVIS_NODE_VERSION != '0.8' || npm config set strict-ssl false" # Setup Node.js version-specific dependencies - "test $TRAVIS_NODE_VERSION != '0.8' || npm rm --save-dev istanbul" - "test $(echo $TRAVIS_NODE_VERSION | cut -d. -f1) -ge 4 || npm rm --save-dev $(grep -E '\"eslint\\S*\"' package.json | cut -d'\"' -f2)"