Skip to content

Commit

Permalink
Add an appveyor.yml
Browse files Browse the repository at this point in the history
Based on the one from zope.interface (by way of zope.hookable).

Anticipates the merging of #10 (yes to Python 3.6, no to Python 3.3).

Fixes #11.
  • Loading branch information
mgedmin committed Jul 27, 2017
1 parent 2dbdc89 commit 12e31bb
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions appveyor.yml
@@ -0,0 +1,36 @@
environment:
global:
TWINE_USERNAME: zope.wheelbuilder
TWINE_PASSWORD:
secure: UcdTh6W78cRLVGfKRFoa5A==

matrix:
- python: 27
- python: 27-x64
- python: 34
- python: 34-x64
- python: 35
- python: 35-x64
- python: 36
- python: 36-x64

install:
- "SET PATH=C:\\Python%PYTHON%;c:\\Python%PYTHON%\\scripts;%PATH%"
- 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"
- pip install -e .

build_script:
- pip install wheel
- python -W ignore setup.py -q bdist_wheel

test_script:
- python setup.py test -q

artifacts:
- path: 'dist\*.whl'
name: wheel

deploy_script:
- ps: if ($env:APPVEYOR_REPO_TAG -eq $TRUE) { pip install twine; twine upload dist/* }

deploy: on

0 comments on commit 12e31bb

Please sign in to comment.