Skip to content

Commit

Permalink
tests:fix py2
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed Dec 25, 2020
1 parent acbe648 commit ea03a38
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,28 +9,23 @@ 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
commands =
pytest --cov=tqdm --cov-report=xml --cov-report=term -k "not tests_perf"
- coveralls
- codacy report -r coverage.xml
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}
{[coverage]commands}
allowlist_externals = codacy

[testenv]
passenv = CI TOXENV CODECOV_* COVERALLS_* CODACY_* HOME
Expand All @@ -44,10 +39,19 @@ deps =
commands = {[extra]commands}
allowlist_externals = {[extra]allowlist_externals}

[testenv:py27]
commands =
pytest --cov=tqdm --cov-report=xml --cov-report=term -k "not tests_perf" -o addopts= -v --tb=short -rxs --durations=10
{[coverage]commands}
deps = {[extra]deps}

# no cython/numpy/pandas for py{py2,py3,26,33,34}

[testenv:pypy]
deps = {[extra]deps}
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:pypy3]
deps = {[extra]deps}
Expand Down

0 comments on commit ea03a38

Please sign in to comment.