-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathappveyor.yml
119 lines (104 loc) · 2.53 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
image:
- Visual Studio 2015
- Visual Studio 2019
branches:
only:
- master
- develop
- /\d+\.\d+(\.\d+)?/
clone_folder: c:\projects\hypua2jamo
max_jobs: 2
environment:
global:
TWINE_USERNAME: mete0r
TWINE_PASSWORD:
secure: HV3H4Fm8sm1lh5YU83vQBg==
matrix:
- TOXENV: py27
python: 27
plat: win32
vcarch: x86
ccompiler: ccompiler-vc90.cmd
- TOXENV: py27
python: 27-x64
plat: win-amd64
vcarch: amd64
ccompiler: ccompiler-vc90.cmd
- TOXENV: py37
python: 37
plat: win32
vcarch: x86
ccompiler: ccompiler-vs2019.cmd
- TOXENV: py37
python: 37-x64
plat: win-amd64
vcarch: amd64
ccompiler: ccompiler-vs2019.cmd
- TOXENV: py38
python: 38
plat: win32
vcarch: x86
ccompiler: ccompiler-vs2019.cmd
- TOXENV: py38
python: 38-x64
plat: win-amd64
vcarch: amd64
ccompiler: ccompiler-vs2019.cmd
- TOXENV: py39
python: 39
plat: win32
vcarch: x86
ccompiler: ccompiler-vs2019.cmd
- TOXENV: py39
python: 39-x64
plat: win-amd64
vcarch: amd64
ccompiler: ccompiler-vs2019.cmd
- TOXENV: py310
python: 310
plat: win32
vcarch: x86
ccompiler: ccompiler-vs2019.cmd
- TOXENV: py310
python: 310-x64
plat: win-amd64
vcarch: amd64
ccompiler: ccompiler-vs2019.cmd
- TOXENV: py311
python: 311
plat: win32
vcarch: x86
ccompiler: ccompiler-vs2019.cmd
- TOXENV: py311
python: 311-x64
plat: win-amd64
vcarch: amd64
ccompiler: ccompiler-vs2019.cmd
matrix:
exclude:
- image: Visual Studio 2019
ccompiler: ccompiler-vc90.cmd
- image: Visual Studio 2015
ccompiler: ccompiler-vs2019.cmd
platform:
- x86
install:
- cmd: |
"C:\\Python%python%\\python" -m pip install -U setuptools pip
build_script:
- cmd: |
CALL "%ccompiler%"
"C:\\Python%python%\\python" -m pip install wheel
"C:\\Python%python%\\python" setup.py build -p %plat% bdist_wheel
dir dist\\*.whl
test_script:
- cmd: |
"C:\\Python%python%\\python" -m pip install -r requirements\test.txt
"C:\\Python%python%\\python" -m pip install --no-deps .
"C:\\Python%python%\\python" -m coverage run --parallel -m unittest discover tests
artifacts:
- path: 'dist\*.whl'
name: wheel
deploy_script:
- ps: if ($env:APPVEYOR_REPO_TAG -eq $TRUE) { pip install twine; twine upload --skip-existing dist/*.whl }
deploy: on