# Build worker image (VM template)
image: Visual Studio 2015

# Fix line endings on Windows
init:
  - git config --global core.autocrlf true

# What combinations to test
environment:
  access_token:
    secure: lssbt7qseyxwc46940dj
  matrix:
    - nodejs_version: "5"
    - nodejs_version: "6"

platform:
  - x64

install:
  - ps: Install-Product node $env:nodejs_version
  - npm install -g npm
  - npm install
  - npm install cmake-js -G

test_script:
  # Output useful info for debugging.
  - node --version && npm --version
  - ps: "npm test # PowerShell" # Pass comment to PS for easier debugging
  - cmd: npm test

build: off

matrix:
  fast_finish: true
  
cache:
  - node_modules -> package.json   
# Build worker image (VM template)
image: Visual Studio 2015

# Fix line endings on Windows
init:
  - git config --global core.autocrlf true

# What combinations to test
environment:
  access_token:
    secure: lssbt7qseyxwc46940dj
  matrix:
    - nodejs_version: "5"
    - nodejs_version: "6"

platform:
  - x64

install:
  - ps: Install-Product node $env:nodejs_version
  - npm install -g npm
  - npm install
  - npm install cmake-js -G

test_script:
  # Output useful info for debugging.
  - node --version && npm --version
  - ps: "npm test # PowerShell" # Pass comment to PS for easier debugging

build: off

matrix:
  fast_finish: true

cache:
  - node_modules -> package.json
Remove an extra npm test due to fixtures not getting reset after the test suite
Remove an extra npm test due to fixtures not getting reset after the test suite
