language: node_js
addons:
  chrome: stable
node_js:
  - "8"
  - "10"
  - "12"
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:
  - "8"
  - "10"
  - "12"
env:
  - WEBPACK_VERSION=4
  - WEBPACK_VERSION=3
install: yarn install --ignore-engines
script: yarn lint && yarn add --dev webpack@$WEBPACK_VERSION --ignore-engines && yarn test

Work around installation issue in Travis
Work around installation issue in Travis

file-loader isn't compatible with Node 8, but it still works. Instead of
removing Node 8 support for this module I'm simply making the install
command ignore the incompat.
