-
Notifications
You must be signed in to change notification settings - Fork 29
/
appveyor.yml
41 lines (35 loc) · 1.34 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
# ****************************************
# appveyor.yml - Appveyor CI configuration
# ****************************************
environment:
matrix:
# We only have a pre-compiled PyQt5 with QtWebEgnine for Python 3.5+ x64, so
# only test on that.
- PYTHON: "C:\\Python35-x64"
- PYTHON: "C:\\Python36-x64"
- PYTHON: "C:\\Python37-x64"
install:
# Add the correct Python to the path.
- set PATH=%PYTHON%;%PYTHON%\Scripts;%PATH%
# Install dependencies needed by the CI script.
- python -m pip install -U -r tests\ci\requirements.txt
# Use a python script to do all the heavy lifting.
- python tests\ci\qutepart_appveyor.py install
# Disable automatic builds, per https://www.appveyor.com/docs/appveyor-yml/.
build: off
# See https://www.appveyor.com/docs/appveyor-yml.
test_script:
- python tests\ci\qutepart_appveyor.py test
# Inspired by https://packaging.python.org/appveyor/.
after_test:
# See https://pip.pypa.io/en/stable/reference/pip_wheel/#options.
#
# - ``--no-deps`` prevents pip from building wheels for dependencies.
# - ``--wheel-dir`` places the wheel in another directory.
- python -m pip wheel -e . --no-deps --wheel-dir=dist
artifacts:
# The ``--wheel-dir`` option puts the built wheel in the ``dist`` directory
- path: dist\*
# See https://www.appveyor.com/docs/build-cache.
cache:
- \downloads