-
Notifications
You must be signed in to change notification settings - Fork 212
/
appveyor.yml
41 lines (36 loc) · 1.36 KB
/
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
39
40
41
# NOTE: this file is auto-generated via ci/bootstrap.py (ci/templates/appveyor.yml).
version: '{branch}-{build}'
build: off
cache:
- '%LOCALAPPDATA%\pip\Cache'
environment:
matrix:
- TOXENV: check
- TOXENV: 'py27-t310-c45,py27-t43-c45,py27-t44-c45,py27-t45-c45'
- TOXENV: 'py34-t310-c45,py34-t43-c45,py34-t44-c45,py34-t45-c45'
- TOXENV: 'py35-t310-c45,py35-t43-c45,py35-t44-c45,py35-t45-c45'
- TOXENV: 'pypy-t310-c45,pypy-t43-c45,pypy-t44-c45,pypy-t45-c45'
init:
- ps: echo $env:TOXENV
- ps: ls C:\Python*
install:
- ps:
if ($env:TOXENV -notmatch 'pypy') {
choco install python.pypy --no-progress
$env:PATH = "C:\tools\pypy\pypy;$env:PATH"
pypy --version
}
# Upgrade virtualenv for e.g. more-itertools to be handled properly.
# Pin it to work around https://github.com/tox-dev/tox/issues/1389.
- C:\Python35\python -m pip install -U virtualenv==16.5.0
- C:\Python35\python -m pip install tox
test_script:
- C:\Python35\python -m tox
on_failure:
- ps: dir "env:"
- ps: get-content .tox\*\log\*
artifacts:
- path: dist\*
### To enable remote debugging uncomment this (also, see: http://www.appveyor.com/docs/how-to/rdp-to-build-worker):
# on_finish:
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))