Karl Schultz | 9da25f5 | 2016-12-30 10:16:33 -0700 | [diff] [blame] | 1 | # Windows Build Configuration for AppVeyor |
| 2 | # http://www.appveyor.com/docs/appveyor-yml |
| 3 | |
| 4 | # build version format |
| 5 | version: "{build}" |
| 6 | |
| 7 | os: Visual Studio 2013 |
| 8 | |
| 9 | environment: |
| 10 | PYTHON_PATH: "C:/Python35" |
| 11 | PYTHON_PACKAGE_PATH: "C:/Python35/Scripts" |
| 12 | |
| 13 | branches: |
| 14 | only: |
| 15 | - master |
| 16 | |
| 17 | # scripts that are called at very beginning, before repo cloning |
| 18 | init: |
| 19 | - ps: (new-object net.webclient).DownloadFile('https://bootstrap.pypa.io/get-pip.py', 'C:/get-pip.py') |
| 20 | - "%PYTHON_PATH%/python.exe C:/get-pip.py" |
| 21 | - "%PYTHON_PACKAGE_PATH%/pip.exe install nose" |
| 22 | |
| 23 | # This replaces "automatic building" that would be defined under build: |
| 24 | build_script: |
| 25 | - "SET PATH=C:\\Python35;C:\\Python35\\Scripts;%PATH%" |
| 26 | - update_external_sources.bat --all |
| 27 | - build_windows_targets.bat |
| 28 | |