Skip to content

Commit

Permalink
build: fix Node.js 0.8 npm install
Browse files Browse the repository at this point in the history
  • Loading branch information
dougwilson committed Jan 21, 2018
1 parent 28129cc commit bc12ff1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down

0 comments on commit bc12ff1

Please sign in to comment.