-
Notifications
You must be signed in to change notification settings - Fork 4
/
.appveyor.yml
38 lines (31 loc) · 983 Bytes
/
.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
branches:
only:
- master
environment:
matrix:
- PYTHON: "C:\\Python27"
- PYTHON: "C:\\Python35"
- PYTHON: "C:\\Python36"
- PYTHON: "C:\\Python37"
# TODO - PYTHON: "C:\\Python38"
# https://www.appveyor.com/docs/windows-images-software/#python
TOXENV: "py"
init:
- SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%
# Check that we have the expected version and architecture for Python
- python -V
- python -c "import struct;print(8 * struct.calcsize('P'))"
install:
# Check tooling versions and upgrade to latest
# TODO: It's probably safer to pin the versions
# Using `python -m pip` to avoid `Access is denied` error
- python -m pip list
- python -m pip install -U setuptools pip virtualenv tox
# Not a C# project, build stuff at the test step instead
build: false
test_script:
- tox
cache:
# Speed up future runs by caching installed packages
# TODO: Might want to periodically clean this up
- '%LOCALAPPDATA%\pip\Cache'