environment:
  matrix:
    - nodejs_version: "8"
    - nodejs_version: "9"
    - nodejs_version: ""

install:
  # Get the latest stable version of Node.js or io.js
  - ps: Install-Product node $env:nodejs_version
  # install modules
  - npm install

test_script:
  # Output useful info for debugging.
  - node --version
  - npm --version
  # Set global username and email
  - git config --global user.email "you@example.com"
  - git config --global user.name "Your Name"
  # Workaround for https://github.com/appveyor/ci/issues/2420
  - set "PATH=%PATH%;C:\Program Files\Git\mingw64\libexec\git-core"
  # run tests
  - npm test

# Don't actually build.
build: off
