|
| 1 | +# NOTE: this file is auto-generated via ci/bootstrap.py (ci/templates/appveyor.yml). |
1 | 2 | version: '{branch}-{build}'
|
2 | 3 | build: off
|
3 | 4 | environment:
|
4 | 5 | matrix:
|
5 | 6 | - TOXENV: check
|
6 |
| - TOXPYTHON: C:\Python36\python.exe |
7 |
| - PYTHON_HOME: C:\Python36 |
8 |
| - PYTHON_VERSION: '3.6' |
9 |
| - PYTHON_ARCH: '32' |
10 |
| - - TOXENV: py27 |
11 |
| - TOXPYTHON: C:\Python27\python.exe |
12 |
| - PYTHON_HOME: C:\Python27 |
13 |
| - PYTHON_VERSION: '2.7' |
14 |
| - PYTHON_ARCH: '32' |
15 |
| - - TOXENV: py27 |
16 |
| - TOXPYTHON: C:\Python27-x64\python.exe |
17 |
| - PYTHON_HOME: C:\Python27-x64 |
18 |
| - PYTHON_VERSION: '2.7' |
19 |
| - PYTHON_ARCH: '64' |
20 |
| - WINDOWS_SDK_VERSION: v7.0 |
21 |
| - - TOXENV: py35 |
22 |
| - TOXPYTHON: C:\Python35\python.exe |
23 |
| - PYTHON_HOME: C:\Python35 |
24 |
| - PYTHON_VERSION: '3.5' |
25 |
| - PYTHON_ARCH: '32' |
26 |
| - - TOXENV: py35 |
27 |
| - TOXPYTHON: C:\Python35-x64\python.exe |
28 |
| - PYTHON_HOME: C:\Python35-x64 |
29 |
| - PYTHON_VERSION: '3.5' |
30 |
| - PYTHON_ARCH: '64' |
31 |
| - - TOXENV: py36 |
32 |
| - TOXPYTHON: C:\Python36\python.exe |
33 |
| - PYTHON_HOME: C:\Python36 |
34 |
| - PYTHON_VERSION: '3.6' |
35 |
| - PYTHON_ARCH: '32' |
36 |
| - - TOXENV: py36 |
37 |
| - TOXPYTHON: C:\Python36-x64\python.exe |
38 |
| - PYTHON_HOME: C:\Python36-x64 |
39 |
| - PYTHON_VERSION: '3.6' |
40 |
| - PYTHON_ARCH: '64' |
41 |
| - - TOXENV: py37 |
42 |
| - TOXPYTHON: C:\Python37\python.exe |
43 |
| - PYTHON_HOME: C:\Python37 |
44 |
| - PYTHON_VERSION: '3.7' |
45 |
| - PYTHON_ARCH: '32' |
46 |
| - - TOXENV: py37 |
47 |
| - TOXPYTHON: C:\Python37-x64\python.exe |
48 |
| - PYTHON_HOME: C:\Python37-x64 |
49 |
| - PYTHON_VERSION: '3.7' |
50 |
| - PYTHON_ARCH: '64' |
51 |
| - - TOXENV: py38 |
52 |
| - TOXPYTHON: C:\Python38\python.exe |
53 |
| - PYTHON_HOME: C:\Python38 |
54 |
| - PYTHON_VERSION: '3.8' |
55 |
| - PYTHON_ARCH: '32' |
56 |
| - - TOXENV: py38 |
57 |
| - TOXPYTHON: C:\Python38-x64\python.exe |
58 |
| - PYTHON_HOME: C:\Python38-x64 |
59 |
| - PYTHON_VERSION: '3.8' |
60 |
| - PYTHON_ARCH: '64' |
| 7 | + - TOXENV: 'py27-pytest46-xdist27-coverage45,py27-pytest46-xdist27-coverage52' |
| 8 | + - TOXENV: 'py35-pytest46-xdist27-coverage45,py35-pytest46-xdist27-coverage52' |
| 9 | + - TOXENV: 'py36-pytest46-xdist27-coverage45,py36-pytest46-xdist27-coverage52,py36-pytest46-xdist33-coverage45,py36-pytest46-xdist33-coverage52,py36-pytest54-xdist33-coverage45,py36-pytest54-xdist33-coverage52,py36-pytest60-xdist33-coverage52' |
| 10 | + - TOXENV: 'py37-pytest46-xdist27-coverage45,py37-pytest46-xdist27-coverage52,py37-pytest46-xdist33-coverage45,py37-pytest46-xdist33-coverage52,py37-pytest54-xdist33-coverage45,py37-pytest54-xdist33-coverage52,py37-pytest60-xdist33-coverage52' |
| 11 | + - TOXENV: 'pypy-pytest46-xdist27-coverage45,pypy-pytest46-xdist27-coverage52' |
| 12 | + |
61 | 13 | init:
|
62 | 14 | - ps: echo $env:TOXENV
|
63 | 15 | - ps: ls C:\Python*
|
64 | 16 | install:
|
65 |
| - - '%PYTHON_HOME%\python -mpip install --progress-bar=off tox -rci/requirements.txt' |
66 |
| - - '%PYTHON_HOME%\Scripts\virtualenv --version' |
67 |
| - - '%PYTHON_HOME%\Scripts\easy_install --version' |
68 |
| - - '%PYTHON_HOME%\Scripts\pip --version' |
69 |
| - - '%PYTHON_HOME%\Scripts\tox --version' |
| 17 | + - IF "%TOXENV:~0,5%" == "pypy-" choco install --no-progress python.pypy |
| 18 | + - IF "%TOXENV:~0,6%" == "pypy3-" choco install --no-progress pypy3 |
| 19 | + - SET PATH=C:\tools\pypy\pypy;%PATH% |
| 20 | + - C:\Python37\python -m pip install -U "virtualenv>=16.5.0" |
| 21 | + - C:\Python37\python -m pip install tox |
| 22 | + |
70 | 23 | test_script:
|
71 |
| - - cmd /E:ON /V:ON /C .\ci\appveyor-with-compiler.cmd %PYTHON_HOME%\Scripts\tox |
| 24 | + - C:\Python37\python -m tox |
| 25 | + |
72 | 26 | on_failure:
|
73 | 27 | - ps: dir "env:"
|
74 | 28 | - ps: get-content .tox\*\log\*
|
| 29 | +artifacts: |
| 30 | + - path: dist\* |
75 | 31 |
|
76 | 32 | ### To enable remote debugging uncomment this (also, see: http://www.appveyor.com/docs/how-to/rdp-to-build-worker):
|
77 | 33 | # on_finish:
|
|
0 commit comments