summaryrefslogtreecommitdiffstats
path: root/third_party/python/pip-tools/.appveyor.yml
blob: 5df681cda4700f3e235b30b69f790314d0066c54 (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
environment:
    global:
      PYTHON: "C:\\Python36"

    matrix:
        - TOXENV: py27-pip20.0-coverage
          PIP: 20.0
        - TOXENV: py27-piplatest-coverage
          PIP: latest

        - TOXENV: py35-pip20.0
          PIP: 20.0
        - TOXENV: py35-piplatest
          PIP: latest

        - TOXENV: py36-pip20.0
          PIP: 20.0
        - TOXENV: py36-piplatest
          PIP: latest

        - TOXENV: py37-pip20.0
          PIP: 20.0
        - TOXENV: py37-piplatest
          PIP: latest

        - TOXENV: py38-pip20.0-coverage
          PIP: 20.0
        - TOXENV: py38-piplatest-coverage
          PIP: latest

matrix:
  fast_finish: true
  allow_failures:
    - PIP: master

install:
    - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
    - python -m pip install -U tox virtualenv

build: false

test_script:
    - tox

after_test:
  # Add tox environment to PATH.
  - "SET PATH=%CD%\\.tox\\%TOXENV%\\scripts;%PATH%"
  - IF NOT "x%TOXENV:-coverage=%"=="x%TOXENV%" (
      pip install codecov &&
      coverage xml &&
      appveyor-retry codecov --required -X gcov pycov search -f coverage.xml -n %TOXENV%-windows
    )