-
-
Notifications
You must be signed in to change notification settings - Fork 18
/
appveyor.yml
34 lines (25 loc) · 910 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
environment:
matrix:
- PYTHON: "C:\\Python36-x64"
PYTHON_VERSION: "3.6.x"
PYTHON_ARCH: "64"
- PYTHON: "C:\\Python37-x64"
PYTHON_VERSION: "3.7.0"
PYTHON_ARCH: "64"
init:
- "ECHO %PYTHON% %PYTHON_VERSION% %PYTHON_ARCH%"
install:
# prepend newly installed Python to the PATH
- "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)\""
# upgrade pip to avoid out-of-date warnings
- "python -m pip install --disable-pip-version-check --upgrade pip"
# install/upgrade setuptools and wheel to build packages
- "pip install --upgrade setuptools wheel"
# install tox to run test suite in a virtual environment
- "pip install -U tox"
build: false
test_script:
- "tox -e py"