summaryrefslogtreecommitdiff
path: root/appveyor.yml
blob: 901b7436009184828d510b978807ff224de8ca46 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
version: "{branch}-{build}"
cache:
    - '%LOCALAPPDATA%\pip\Cache'
build: off

skip_tags: true

shallow_clone: true
clone_depth: 100

environment:
    global:
        WITH_COMPILER: 'cmd /E:ON /V:ON /C .\ci\appveyor\compiler.cmd'

    matrix:
        - TOXENV: 'py27-{noaccel,accel-win,streams}'
          TOXPYTHON: C:\Python27\python.exe
          PYTHON_HOME: C:\Python27
          PYTHON_VERSION: '2.7'
          PYTHON_ARCH: '32'

        - TOXENV: 'py33-{noaccel,accel-win,streams}'
          TOXPYTHON: C:\Python33\python.exe
          PYTHON_HOME: C:\Python33
          PYTHON_VERSION: '3.3'
          PYTHON_ARCH: '32'

        - TOXENV: 'py34-{noaccel,accel-win,streams}'
          TOXPYTHON: C:\Python34\python.exe
          PYTHON_HOME: C:\Python34
          PYTHON_VERSION: '3.4'
          PYTHON_ARCH: '32'

        - TOXENV: 'py35-{noaccel,accel-win,streams}'
          TOXPYTHON: C:\Python35\python.exe
          PYTHON_HOME: C:\Python35
          PYTHON_VERSION: '3.5'
          PYTHON_ARCH: '32'

        - TOXENV: 'py36-{noaccel,accel-win,streams}'
          TOXPYTHON: C:\Python36\python.exe
          PYTHON_HOME: C:\Python36
          PYTHON_VERSION: '3.6'
          PYTHON_ARCH: '32'

init:
    - ps: echo $env:TOXENV
    - ps: ls C:\Python*

install:
    - '%TOXPYTHON% --version'
    - '%PYTHON_HOME%\Scripts\pip --version'
    - '%TOXPYTHON% -m pip install --egg tox'
    - '%PYTHON_HOME%\Scripts\tox --version'

test_script:
    - '%WITH_COMPILER% %PYTHON_HOME%\Scripts\tox'

on_failure:
    - ps: dir "env:"
    - ps: get-content .tox\*\log\*