environment:
  matrix:
    - nodejs_version: '4'

cache:
  - node_modules

install:
  - ps: Install-Product node $env:nodejs_version
  - npm -g install npm@2
  - set PATH=%APPDATA%\npm;%PATH%
  - npm install --msvs_version=2013

test_script:
  - node --version
  - npm --version
  - cmd: npm test

build: off

environment:
  matrix:
    - nodejs_version: '4'

cache:
  - node_modules -> package.json

install:
  - ps: Install-Product node $env:nodejs_version
  - npm -g install npm@2
  - set PATH=%APPDATA%\npm;%PATH%
  - npm install --msvs_version=2013

test_script:
  - node --version
  - npm --version
  - cmd: npm test

build: off

Reset node_modules cache if package.json modified
Reset node_modules cache if package.json modified
