language: node_js

node_js:
  - "10"
  - "8"
  - "6"

os:
  - linux
  - osx

env:
  - WEBPACK_VERSION=1
  - WEBPACK_VERSION=2
  - WEBPACK_VERSION=3
  - WEBPACK_VERSION=4

install:
  - npm install
  - npm rm webpack
  - npm install webpack@$WEBPACK_VERSION || true

branches:
  only:
    - master

language: node_js

node_js:
  - "12"
  - "10"
  - "8"

os:
  - linux
  - osx

env:
  - WEBPACK_VERSION=4
  - WEBPACK_VERSION=5.0.0-beta.11

install:
  - npm install
  - npm rm webpack
  - npm install webpack@$WEBPACK_VERSION || true

branches:
  only:
    - master

Add Travis support for Webpack 5 and Node 12. Drop support for Webpack 1/2/3 and Node 6.
Add Travis support for Webpack 5 and Node 12.
Drop support for Webpack 1/2/3 and Node 6.
