language: node_js
addons:
  chrome: stable
node_js:
  - "6"
  - "8"
env:
  - WEBPACK_VERSION=4
  - WEBPACK_VERSION=3
script: yarn lint && yarn add --dev webpack@$WEBPACK_VERSION && yarn test

language: node_js
addons:
  chrome: stable
node_js:
  - "6"
  - "8"
  - "10"
  - "12"
env:
  - WEBPACK_VERSION=4
  - WEBPACK_VERSION=3
script: yarn lint && yarn add --dev webpack@$WEBPACK_VERSION && yarn test

Add Node 10 and 12 to Travis test matrix
Add Node 10 and 12 to Travis test matrix

10 is currently in LTS and 12 will start LTS in October. It seems
like a good idea to run CI on these versions.