forked from PyWavelets/pywt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
49 lines (41 loc) · 1.69 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
# AppVeyor.com is a Continuous Integration service to build and run tests under
# Windows
# https://ci.appveyor.com/project/PyWavelets/pywt
# This file is built on the template here:
# http://python-packaging-user-guide.readthedocs.org/en/latest/appveyor/
environment:
# as of Nov 2020, the default image has Visual Studio 2015, but Python 3.9
# is only available on the Visual Studio 2019 image.
matrix:
- PYTHON: "C:\\Python38"
- PYTHON: "C:\\Python38-x64"
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
PYTHON: "C:\\Python39"
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
PYTHON: "C:\\Python39-x64"
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
PYTHON: "C:\\Python310"
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
PYTHON: "C:\\Python310-x64"
build: off
install:
- "util\\appveyor\\build.cmd %PYTHON%\\python.exe -m pip install --upgrade pip"
- "util\\appveyor\\build.cmd %PYTHON%\\python.exe -m pip install --upgrade wheel"
- "util\\appveyor\\build.cmd %PYTHON%\\python.exe -m pip install
numpy --cache-dir c:\\tmp\\pip-cache"
- "util\\appveyor\\build.cmd %PYTHON%\\python.exe -m pip install
Cython pytest coverage matplotlib --cache-dir c:\\tmp\\pip-cache"
test_script:
- "util\\appveyor\\build.cmd %PYTHON%\\python.exe -m pip install -e . -v"
- "cd demo"
- "%PYTHON%\\Scripts\\pytest --pyargs pywt"
- "cd .."
after_test:
- "util\\appveyor\\build.cmd %PYTHON%\\python.exe setup.py bdist_wheel"
artifacts:
# Archive the generated wheel package in the ci.appveyor.com build report.
- path: dist\*
cache:
# Cache can be manuall cleared like this:
# https://github.com/appveyor/ci/issues/207
- "c:\\tmp\\pip-cache"