1environment: 2 global: 3 TWINE_USERNAME: zope.wheelbuilder 4 TWINE_PASSWORD: 5 secure: UcdTh6W78cRLVGfKRFoa5A== 6 PURE_PYTHON: 0 7 8 matrix: 9 - python: 27 10 - python: 27-x64 11 - python: 35 12 - python: 35-x64 13 - python: 36 14 - python: 36-x64 15 - python: 37 16 - python: 37-x64 17 - python: 38 18 - python: 38-x64 19 - python: 39 20 - python: 39-x64 21 22install: 23 - "SET PATH=C:\\Python%PYTHON%;c:\\Python%PYTHON%\\scripts;%PATH%" 24 - ps: | 25 $env:PYTHON = "C:\\Python${env:PYTHON}" 26 if (-not (Test-Path $env:PYTHON)) { 27 curl -o install_python.ps1 https://raw.githubusercontent.com/matthew-brett/multibuild/11a389d78892cf90addac8f69433d5e22bfa422a/install_python.ps1 28 .\install_python.ps1 29 } 30 - ps: if (-not (Test-Path $env:PYTHON)) { throw "No $env:PYTHON" } 31 - echo "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64 > "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64\vcvars64.bat" 32 - python -m pip install -U pip setuptools wheel cffi 33 - pip install -e .[test] 34 35build_script: 36 - python -W ignore setup.py -q bdist_wheel 37 38test_script: 39 - python -m zope.testrunner --test-path=. 40 41artifacts: 42 - path: 'dist\*.whl' 43 name: wheel 44 45deploy_script: 46 - ps: if ($env:APPVEYOR_REPO_TAG -eq $TRUE) { pip install twine; twine upload dist/* } 47 48deploy: on 49