language: node_js
node_js:
  - 4.2
addons:
  firefox: latest
env:
  - WEBPACK_SUFFIX=
  - WEBPACK_SUFFIX=@beta
install:
  - npm install --ignore-scripts
  - npm rm webpack
  - npm rm extract-text-webpack-plugin
  - npm install "webpack""$WEBPACK_SUFFIX" --ignore-scripts || true
  - npm install "extract-text-webpack-plugin""$WEBPACK_SUFFIX" --ignore-scripts || true
before_script:
  - export DISPLAY=:99.0
  - sh -e /etc/init.d/xvfb start
script:
  - ./node_modules/karma/bin/karma start --single-run --browsers Firefox
  - ./node_modules/mocha/bin/mocha test/test-webpack.js

language: node_js
node_js:
  - 6.9
addons:
  firefox: latest
env:
  - WEBPACK_SUFFIX=
  - WEBPACK_SUFFIX=@beta
install:
  - npm install --ignore-scripts
  - npm rm webpack
  - npm rm extract-text-webpack-plugin
  - npm install "webpack""$WEBPACK_SUFFIX" --ignore-scripts || true
  - npm install "extract-text-webpack-plugin""$WEBPACK_SUFFIX" --ignore-scripts || true
before_script:
  - export DISPLAY=:99.0
  - sh -e /etc/init.d/xvfb start
script:
  - ./node_modules/karma/bin/karma start --single-run --browsers Firefox
  - ./node_modules/mocha/bin/mocha test/test-webpack.js

Align Travis and Appveyor Node versions
Align Travis and Appveyor Node versions
