-
Notifications
You must be signed in to change notification settings - Fork 51
/
appveyor.yml
40 lines (28 loc) · 1.02 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
# AppVeyor.com is a Continuous Integration service to build and run tests under
# Windows
image: Visual Studio 2019
environment:
matrix:
- PYTHON: "C:\\Python38"
- PYTHON: "C:\\Python38-x64"
- PYTHON: "C:\\Python39"
- PYTHON: "C:\\Python39-x64"
install:
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
# Check that we have the expected version and architecture for Python
- "python --version"
- "python -c \"import struct; print(struct.calcsize('P') * 8)\""
# Install the build and runtime dependencies of the project.
- "pip install -v pytest pytest-cov pytest-xdist"
# Install the generated wheel package to test it
- "python setup.py install"
# Not a .NET project, we build scikit-image in the install step instead
build: false
test_script:
# Run unit tests with pytest
- "python -m pytest -raR -n auto"
artifacts:
# Archive the generated wheel package in the ci.appveyor.com build report.
- path: dist\*
#on_success:
# - TODO: upload the content of dist/*.whl to a public wheelhouse