mirror of https://github.com/tqdm/tqdm.git
tests:fix py2
This commit is contained in:
parent
acbe64809e
commit
59f879501c
35
tox.ini
35
tox.ini
|
@ -9,29 +9,24 @@ envlist = py{27,34,35,36,37,38,39,py2,py3}{,-tf}{,-keras}, perf, flake8, setup.p
|
|||
isolated_build = True
|
||||
|
||||
[coverage]
|
||||
commands=
|
||||
- coveralls
|
||||
codecov
|
||||
- codacy report -r coverage.xml
|
||||
|
||||
[extra]
|
||||
deps =
|
||||
pytest
|
||||
pytest-cov
|
||||
py{37,38,39}: pytest-asyncio
|
||||
coverage
|
||||
coveralls
|
||||
codecov
|
||||
commands =
|
||||
pytest --cov=tqdm --cov-report=xml --cov-report=term -k "not tests_perf"
|
||||
- coveralls
|
||||
- codacy report -r coverage.xml
|
||||
{[coverage]commands}
|
||||
allowlist_externals = codacy
|
||||
|
||||
[extra]
|
||||
deps =
|
||||
{[coverage]deps}
|
||||
codecov
|
||||
commands =
|
||||
pytest --cov=tqdm --cov-report=xml --cov-report=term -k "not tests_perf"
|
||||
- coveralls
|
||||
codecov
|
||||
- codacy report -r coverage.xml
|
||||
allowlist_externals = {[coverage]allowlist_externals}
|
||||
|
||||
[testenv]
|
||||
passenv = CI TOXENV CODECOV_* COVERALLS_* CODACY_* HOME
|
||||
deps =
|
||||
|
@ -44,15 +39,13 @@ deps =
|
|||
commands = {[extra]commands}
|
||||
allowlist_externals = {[extra]allowlist_externals}
|
||||
|
||||
# no cython/numpy/pandas for py{py2,py3,26,33,34}
|
||||
[testenv:py{27,py2}{,-tf}{,-keras}]
|
||||
commands =
|
||||
pytest --cov=tqdm --cov-report=xml --cov-report=term -k "not tests_perf" -o addopts= -v --tb=short -rxs --durations=10
|
||||
{[coverage]commands}
|
||||
|
||||
[testenv:pypy]
|
||||
deps = {[extra]deps}
|
||||
|
||||
[testenv:pypy3]
|
||||
deps = {[extra]deps}
|
||||
|
||||
[testenv:py34]
|
||||
# no cython/numpy/pandas
|
||||
[testenv:py{34,py2,py3}]
|
||||
deps = {[extra]deps}
|
||||
|
||||
[testenv:perf]
|
||||
|
|
Loading…
Reference in New Issue