-
Notifications
You must be signed in to change notification settings - Fork 6
/
appveyor.yml
44 lines (38 loc) · 1.01 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
image:
- Visual Studio 2019
platform:
- x86
- x64
environment:
matrix:
- PYTHON_VERSION: 3.5
PYTHON_BUILD: ''
- PYTHON_VERSION: 3.5
PYTHON_BUILD: '-x64'
- PYTHON_VERSION: 3.6
PYTHON_BUILD: ''
- PYTHON_VERSION: 3.6
PYTHON_BUILD: '-x64'
- PYTHON_VERSION: 3.7
PYTHON_BUILD: ''
- PYTHON_VERSION: 3.7
PYTHON_BUILD: '-x64'
- PYTHON_VERSION: 3.8
PYTHON_BUILD: ''
- PYTHON_VERSION: 3.8
PYTHON_BUILD: '-x64'
matrix:
exclude:
- platform: x86
PYTHON_BUILD: '-x64'
stack: python %PYTHON_VERSION%
build: off
test_script:
# Windows. Both 32 and 64 bit Python versions
- cmd: set PYTHON_PATH=C:\PYTHON%PYTHON_VERSION:.=%%PYTHON_BUILD%
- cmd: set PATH=%PYTHON_PATH%;%PYTHON_PATH%\Scripts;%PATH%
- cmd: python -VV
- cmd: python -c "import struct; print(struct.calcsize('P') * 8)"
- cmd: python -m pip install .[test]
- cmd: python -m pytest
- cmd: python -m mypy examples src tests