version: "{build}"

services: mssql2014

environment:
  matrix:
    - nodejs_version: "0.10"
    - nodejs_version: "0.12"
    - nodejs_version: "4"
    - nodejs_version: "5"
    - nodejs_version: "6"

branches:
  only:
  - master

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

cache: node_modules
build: off

before_test:
  - ps: Start-Process enable-sql-server-tcp-ip.ps1

test_script:
  - cmd: npm test
