|
0 |
environment:
|
|
1 |
|
|
2 |
matrix:
|
|
3 |
|
|
4 |
# For Python versions available on Appveyor, see
|
|
5 |
# http://www.appveyor.com/docs/installed-software#python
|
|
6 |
# The list here is complete (excluding Python 2.6, which
|
|
7 |
# isn't covered by this document) at the time of writing.
|
|
8 |
|
|
9 |
- PYTHON: "C:\\Python27"
|
|
10 |
- PYTHON: "C:\\Python33"
|
|
11 |
- PYTHON: "C:\\Python34"
|
|
12 |
- PYTHON: "C:\\Python35"
|
|
13 |
- PYTHON: "C:\\Python27-x64"
|
|
14 |
- PYTHON: "C:\\Python33-x64"
|
|
15 |
DISTUTILS_USE_SDK: "1"
|
|
16 |
- PYTHON: "C:\\Python34-x64"
|
|
17 |
DISTUTILS_USE_SDK: "1"
|
|
18 |
- PYTHON: "C:\\Python35-x64"
|
|
19 |
- PYTHON: "C:\\Python36-x64"
|
|
20 |
|
|
21 |
install:
|
|
22 |
# We need wheel installed to build wheels
|
|
23 |
- "%PYTHON%\\python.exe -m pip install wheel"
|
|
24 |
|
|
25 |
build: off
|
|
26 |
|
|
27 |
test_script:
|
|
28 |
# Put your test command here.
|
|
29 |
# If you don't need to build C extensions on 64-bit Python 3.3 or 3.4,
|
|
30 |
# you can remove "build.cmd" from the front of the command, as it's
|
|
31 |
# only needed to support those cases.
|
|
32 |
# Note that you must use the environment variable %PYTHON% to refer to
|
|
33 |
# the interpreter you're using - Appveyor does not do anything special
|
|
34 |
# to put the Python version you want to use on PATH.
|
|
35 |
- "build.cmd %PYTHON%\\python.exe setup.py test"
|
|
36 |
|
|
37 |
after_test:
|
|
38 |
# This step builds your wheels.
|
|
39 |
# Again, you only need build.cmd if you're building C extensions for
|
|
40 |
# 64-bit Python 3.3/3.4. And you need to use %PYTHON% to get the correct
|
|
41 |
# interpreter
|
|
42 |
- "build.cmd %PYTHON%\\python.exe setup.py bdist_wheel"
|
|
43 |
|
|
44 |
artifacts:
|
|
45 |
# bdist_wheel puts your built wheel in the dist directory
|
|
46 |
- path: dist\*
|
|
47 |
|
|
48 |
#on_success:
|
|
49 |
# You can use this step to upload your artifacts to a public website.
|
|
50 |
# See Appveyor's documentation for more details. Or you can simply
|
|
51 |
# access your wheels from the Appveyor "artifacts" tab for your build.
|