version: 1.0.{build}

os: Visual Studio 2015

platform:
  - x86

branches:
  only:
    - master

install:
 - ps: (new-object net.webclient).DownloadFile('https://www.python.org/ftp/python/3.4.4/python-3.4.4.msi', 'python-3.4.4.msi')
 - ps: msiexec /i python-3.4.4.msi /quiet /qn /norestart
 - ps: (new-object net.webclient).DownloadFile('https://dl.dropboxusercontent.com/u/37517477/ninja.exe', 'c:\python34\ninja.exe')
 - cmd: echo %PATH%
 - cmd: dir c:\python34
 - cmd: copy c:\python34\python.exe c:\python34\python3.exe

build_script:
  - cmd: echo No build step.

test_script:
  - cmd: c:\python34\python3 run_tests.py --backend=ninja

artifacts:
  - path: meson-test-run.txt

version: 1.0.{build}

os: Visual Studio 2015

platform:
  - x86

branches:
  only:
    - master

install:
 - ps: (new-object net.webclient).DownloadFile('https://www.python.org/ftp/python/3.4.4/python-3.4.4.msi', 'python-3.4.4.msi')
 - ps: msiexec /i python-3.4.4.msi /quiet /qn /norestart
 - ps: (new-object net.webclient).DownloadFile('https://dl.dropboxusercontent.com/u/37517477/ninja.exe', 'c:\python34\ninja.exe')
 - cmd: echo %PATH%
 - cmd: dir c:\python34
 - cmd: copy c:\python34\python.exe c:\python34\python3.exe
 - '"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x86'

build_script:
  - cmd: echo No build step.

test_script:
  - cmd: c:\python34\python3 run_tests.py --backend=ninja

artifacts:
  - path: meson-test-run.txt

Call setenv so hopefully Visual Studio tools will be in path.
Call setenv so hopefully Visual Studio tools will be in path.
