version: "{build}" shallow_clone: true environment: PLATFORM: x64 matrix: - NODEJS_VERSION: "6" - NODEJS_VERSION: "8" - NODEJS_VERSION: "10" - NODEJS_VERSION: "12" install: - ps: Install-Product node $env:NODEJS_VERSION $env:PLATFORM - if "%NODEJS_VERSION%" lss "8" (npm install) else (npm ci) build: off test_script: - node --version - npm --version - npm test matrix: fast_finish: true cache: - '%APPDATA%\npm-cache\ -> appveyor.yml,package.json,package-lock.json' - 'node_modules\ -> appveyor.yml,package.json,package-lock.json'