language: node_js

node_js: "node"

os:
  - linux
  - osx
  - windows

matrix:
  include:
    - node_js: "8"
    - node_js: "6"
  allow_failures:
    - os: osx
    - os: windows
  fast_finish: true

before_install: |
  if [ "${TRAVIS_OS_NAME}" = 'windows' ]; then
    cp test-projects/msdmo.dll /c/Windows/System32/
    npm config set script-shell 'bash'
  fi

script: |
  if [ "${TRAVIS_OS_NAME}" = 'linux' ]; then
    xvfb-run npm test
  else
    npm test
  fi

language: node_js

node_js: "node"

os:
  - linux
  - osx
  - windows

matrix:
  include:
    - node_js: "8"
  allow_failures:
    - os: osx
    - os: windows
  fast_finish: true

before_install: |
  if [ "${TRAVIS_OS_NAME}" = 'windows' ]; then
    cp test-projects/msdmo.dll /c/Windows/System32/
    npm config set script-shell 'bash'
  fi

script: |
  if [ "${TRAVIS_OS_NAME}" = 'linux' ]; then
    xvfb-run npm test
  else
    npm test
  fi

Remove node 6 from CI matrix
Remove node 6 from CI matrix
