Skip to content

Commit

Permalink
Update Node versions exercised by CI.
Browse files Browse the repository at this point in the history
* Add 8, 10, 11
* Drop end-of-life releases 4, 5, 7
  • Loading branch information
null-a committed Feb 8, 2019
1 parent 959c9ae commit 48273a9
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,21 @@
language: node_js

node_js:
- "4"
- "5"
- "6"
- "7"
- "8"
- "10"
- "11"

env:
- TASK=default

matrix:
include:
- node_js: "7"
- node_js: "11"
env: TASK=travis-phantomjs

install:
- npm install
- if [ $TRAVIS_NODE_VERSION = 4 ]; then npm run-script prepare; fi
- if [ $TRAVIS_NODE_VERSION = 5 ]; then npm run-script prepare; fi
- if [ $TRAVIS_NODE_VERSION = 6 ]; then npm run-script prepare; fi
- npm install -g nodeunit grunt-cli
- if [ $TASK = travis-phantomjs ]; then npm install -g browserify uglify-js; fi
Expand Down

0 comments on commit 48273a9

Please sign in to comment.