blob: 33f48d9122711a354d614fc1849ec304480c6793 (
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
36
37
38
39
|
# 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"
NOXSESSION: "tests-3.6"
- PYTHON: "C:\\Miniconda37-x64"
PYTHON_VERSION: "3.7.x"
PYTHON_ARCH: "64"
NOXSESSION: "tests-3.7"
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)\""
# Update conda stuff to make sure pip, setuptools, wheel etc are up to date
- "conda update --all -y"
# Install nox
- "python -m pip install --upgrade nox"
test_script:
- "nox --non-interactive --session %NOXSESSION%"
|