-
Notifications
You must be signed in to change notification settings - Fork 15
/
.appveyor.yml
53 lines (43 loc) · 1.26 KB
/
.appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# adapted from https://packaging.python.org/en/latest/appveyor/
image:
- Visual Studio 2019
# support status of various Python releases
# https://devguide.python.org/versions/
environment:
matrix:
# For Python versions available on Appveyor, see
# https://www.appveyor.com/docs/windows-images-software/#python
- PYTHON: "C:\\Python39"
TOXENV: py39
- PYTHON: "C:\\Python39-x64"
TOXENV: py39
- PYTHON: "C:\\Python311"
TOXENV: py311
- PYTHON: "C:\\Python311-x64"
TOXENV: py311
- PYTHON: "C:\\Python312"
TOXENV: py312
- PYTHON: "C:\\Python312-x64"
TOXENV: py312
install:
- |
%PYTHON%\python.exe --version
%PYTHON%\python.exe -m pip install tox
# note:
# %PYTHON% has: python.exe
# %PYTHON%\Scripts has: pip.exe, tox.exe (and others installed by bare pip)
build: off
test_script:
- |
%PYTHON%\python.exe -m tox
after_test:
# This step builds your wheels.
# Again, you only need build.cmd if you're building C extensions for
# 64-bit Python 3.3/3.4. And you need to use %PYTHON% to get the correct
# interpreter
- |
%PYTHON%\python.exe -m pip install setuptools wheel
%PYTHON%\python.exe setup.py bdist_wheel
artifacts:
# bdist_wheel puts your built wheel in the dist directory
- path: dist\*