Projet

Général

Profil

0001-tox-remove-py2-builds-39299.patch

Frédéric Péters, 27 janvier 2020 15:19

Télécharger (1018 octets)

Voir les différences:

Subject: [PATCH] tox: remove py2 builds (#39299)

 tox.ini | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
tox.ini
1 1
[tox]
2 2
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/wcs/{env:BRANCH_NAME:}
3
envlist = py2-pylint-coverage,py3
3
envlist = py3-pylint-coverage
4 4

  
5 5
[testenv]
6 6
sitepackages = true
......
16 16
passenv =
17 17
    USER
18 18
deps =
19
    py2: pytest
20
    py3: pytest>=3.6,<5
19
    pytest>=3.6,<5
21 20
    pytest-mock
22 21
    pytest-cov
23 22
    pytest-django
......
38 37
    django-ratelimit<3
39 38
    pyproj
40 39
    pylint<1.8
41
    py3: Quixote>=3.0
40
    Quixote>=3.0
42 41
commands =
43 42
    py.test -v {env:COVERAGE:} --junitxml=junit-{envname}.xml {posargs:tests/}
44 43
    pylint: ./pylint.sh wcs/
45
-