blob: 67502c36021c52c98d17a37902f7c87088186b03 (
plain)
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
|
# AppVeyor (https://www.appveyor.com) continous integration configuration file for Windows unit tests
build: off
environment:
PYTHONUNBUFFERED: 1
matrix:
- PYTHON: "C:\\Miniconda36-x64"
PYTHON_VERSION: "3.6.x"
PYTHON_ARCH: "64"
TOXENV: "py36"
- PYTHON: "C:\\Miniconda37-x64"
PYTHON_VERSION: "3.7.x"
PYTHON_ARCH: "64"
TOXENV: "py37"
init:
- "%PYTHON%/python -V"
- mkdir C:\Users\appveyor\.conda
- call %PYTHON%\Scripts\activate.bat
install:
# Prepend the right Python version to the PATH of this build
- "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 to the latest version of pip to avoid it displaying warnings
# about it being out of date.
- "python -m pip install --upgrade pip wheel setuptools tox"
test_script:
- "echo y | tox -e %TOXENV%"
|