image: Visual Studio 2015

environment:
  nodejs_version: "12"

platform:
  - x86
  - x64

install:
  - ps: Install-Product node $env:nodejs_version
  - npm install

test_script:
  - node -e "console.log(`${process.version} ${process.arch} ${process.platform}`)"
  - npm --version
  - npm test

build: off

branches:
  only:
    - master

cache:
  - '%HOMEDRIVE%%HOMEPATH%\.node-gyp'
  - '%APPDATA%\npm-cache'
