environment:
  matrix:
    - nodejs_version: "6.12.3"
    - nodejs_version: "7.10.1"

build: off

install:
  - ps: Install-Product node $env:nodejs_version
  - npm install
  - if "%nodejs_version%" == "7.10.1" (
      npm run lint &&
      npm run coverage  &&
      npm run test-doclint
    ) else (
      npm run unit-node6
    )