1 # appveyor configuration. See http://www.appveyor.com/docs/appveyor-yml
2 # inspired from https://github.com/ogrisel/python-appveyor-demo/blob/master/appveyor.yml
7 # SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the
8 # /E:ON and /V:ON options are not enabled in the batch script intepreter
9 # See: http://stackoverflow.com/a/13751649/163740
10 CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\scripts\\appveyor_run_with_env.cmd"
14 - PYTHON: "C:\\Python27"
15 PYTHON_VERSION: "2.7.x" # currently 2.7.9
18 - PYTHON: "C:\\Python27-x64"
19 PYTHON_VERSION: "3.4.x" # currently 3.4.3
24 - ECHO "Installed SDKs:"
25 - ps: "ls \"C:/Program Files/Microsoft SDKs/Windows\""
27 # Install Python (from the official .msi of http://python.org) and pip when
28 # not already installed.
29 - ps: if (-not(Test-Path($env:PYTHON))) { & scripts\appveyor_install_python.ps1 }
31 # Prepend newly installed Python to the PATH of this build (this cannot be
32 # done from inside the powershell script as it would require to restart
33 # the parent CMD process).
34 - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
36 # Check that we have the expected version and architecture for Python
38 - "python -c \"import struct; print(struct.calcsize('P') * 8)\""
41 - curl -fsS -o waf https://waf.io/waf-1.8.20
42 - curl -fsS -o waf.bat https://raw.githubusercontent.com/waf-project/waf/master/utils/waf.bat
45 - waf configure build --verbose