Skip to content

Commit

Permalink
build: support Node.js 8.x
Browse files Browse the repository at this point in the history
  • Loading branch information
dougwilson committed Jun 2, 2017
1 parent c6dffd5 commit bb8717a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,3 +1,4 @@
coverage/
node_modules/
npm-debug.log
package-lock.json
10 changes: 3 additions & 7 deletions .travis.yml
Expand Up @@ -10,18 +10,14 @@ node_js:
- "5.12"
- "6.10"
- "7.10"
matrix:
include:
- node_js: "8.0"
env: "NVM_NODEJS_ORG_MIRROR=https://nodejs.org/download/nightly"
allow_failures:
# Allow the nightly installs to fail
- env: "NVM_NODEJS_ORG_MIRROR=https://nodejs.org/download/nightly"
- "8.0"
sudo: false
cache:
directories:
- node_modules
before_install:
# Skip updating shrinkwrap / lock
- "npm config set shrinkwrap 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 bb8717a

Please sign in to comment.