Karl Schultz | 6ba2be1 | 2016-12-30 10:16:33 -0700 | [diff] [blame] | 1 | # Windows Build Configuration for AppVeyor |
| 2 | # http://www.appveyor.com/docs/appveyor-yml |
Karl Schultz | 129a74b | 2017-09-04 08:16:23 -0600 | [diff] [blame] | 3 | # |
Karl Schultz | 6ba2be1 | 2016-12-30 10:16:33 -0700 | [diff] [blame] | 4 | |
| 5 | # build version format |
| 6 | version: "{build}" |
| 7 | |
Karl Schultz | 615b7f7 | 2017-02-22 13:41:55 -0700 | [diff] [blame] | 8 | os: |
Karl Schultz | 615b7f7 | 2017-02-22 13:41:55 -0700 | [diff] [blame] | 9 | - Visual Studio 2015 |
Karl Schultz | 6ba2be1 | 2016-12-30 10:16:33 -0700 | [diff] [blame] | 10 | |
| 11 | environment: |
| 12 | PYTHON_PATH: "C:/Python35" |
| 13 | PYTHON_PACKAGE_PATH: "C:/Python35/Scripts" |
| 14 | |
Karl Schultz | acfb380 | 2017-05-26 16:57:28 -0600 | [diff] [blame] | 15 | # Cache the external directory to improve build times. |
| 16 | # If the appveyor config file changes, invalidate the cache. |
| 17 | cache: |
| 18 | - external -> .appveyor.yml |
| 19 | |
Karl Schultz | 6ba2be1 | 2016-12-30 10:16:33 -0700 | [diff] [blame] | 20 | branches: |
| 21 | only: |
| 22 | - master |
| 23 | |
Karl Schultz | 6ba2be1 | 2016-12-30 10:16:33 -0700 | [diff] [blame] | 24 | # This replaces "automatic building" that would be defined under build: |
| 25 | build_script: |
| 26 | - "SET PATH=C:\\Python35;C:\\Python35\\Scripts;%PATH%" |
| 27 | - update_external_sources.bat --all |
| 28 | - build_windows_targets.bat |
| 29 | |