environment:
  matrix:
  # node.js
  - nodejs_version: "0.12"
  - nodejs_version: "4"
  - nodejs_version: "5"

install:
  - ps: |
      # Install MinGW.
      $url  = "http://sourceforge.net/projects/mingw-w64/files/"
      $url += "Toolchains%20targetting%20Win64/Personal%20Builds/"
      $url += "mingw-builds/4.9.0/threads-win32/seh/"
      $url += "x86_64-4.9.0-release-win32-seh-rt_v3-rev2.7z/download"
      Invoke-WebRequest -UserAgent wget -Uri $url -OutFile mingw.7z
      &7z x -oC:\ mingw.7z > $null
  - set PATH=%PATH%;C:\mingw64\bin
  - ps: Install-Product node $env:nodejs_version
  - npm install
  - npm config set dockerlint:winmake "mingw32-make.exe"

test_script:
  - node --version
  - npm --version
  - npm run test:win

build: off
