-
Notifications
You must be signed in to change notification settings - Fork 212
/
appveyor.yml
39 lines (34 loc) · 1.63 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
# 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-xdist22,py27-t310-c45-xdist27,py27-t43-c45-xdist22,py27-t43-c45-xdist27,py27-t44-c45-xdist28,py27-t45-c45-xdist28'
- TOXENV: 'py34-t310-c45-xdist22,py34-t310-c45-xdist27,py34-t43-c45-xdist22,py34-t43-c45-xdist27,py34-t44-c45-xdist28,py34-t45-c45-xdist28'
- TOXENV: 'py35-t310-c45-xdist22,py35-t310-c45-xdist27,py35-t43-c45-xdist22,py35-t43-c45-xdist27,py35-t44-c45-xdist28,py35-t45-c45-xdist28'
- TOXENV: 'pypy-t310-c45-xdist22,pypy-t310-c45-xdist27,pypy-t43-c45-xdist22,pypy-t43-c45-xdist27,pypy-t44-c45-xdist28,pypy-t45-c45-xdist28'
init:
- ps: echo $env:TOXENV
- ps: ls C:\Python*
install:
# install pypy using choco (redirect to a file and write to console in case
# choco install returns non-zero, because choco install python.pypy is too
# noisy)
- choco install python.pypy > pypy-inst.log 2>&1 || (type pypy-inst.log & exit /b 1)
- set PATH=C:\tools\pypy\pypy;%PATH% # so tox can find pypy
- echo PyPy installed
- pypy --version
- 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'))