tqdm/tox.ini

105 lines
2.1 KiB
INI
Raw Normal View History

# Tox (https://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
# deprecation warning: py{26,32,33,34}
2020-01-25 00:36:08 +00:00
envlist = py{26,27,33,34,35,36,37,38,py,py3}, tf-no-keras, perf, flake8, setup.py
[coverage]
deps =
2020-10-19 12:14:53 +00:00
pytest
pytest-cov
coverage
2015-06-18 22:02:13 +00:00
coveralls
commands =
2020-10-24 17:42:50 +00:00
pytest -v --cov=tqdm -k "not tests_perf" tqdm/
2016-10-07 10:06:19 +00:00
- coveralls
- coverage xml
- curl -OL https://coverage.codacy.com/get.sh
- bash get.sh report -r coverage.xml
allowlist_externals =
curl
bash
[extra]
deps =
{[coverage]deps}
codecov
commands =
2020-10-24 17:42:50 +00:00
pytest -v --durations=10 --cov=tqdm -k "not tests_perf" tqdm/
- coveralls
codecov
- coverage xml
- curl -OL https://coverage.codacy.com/get.sh
- bash get.sh report -r coverage.xml
allowlist_externals = {[coverage]allowlist_externals}
[testenv]
passenv = CI TRAVIS TRAVIS_* TOXENV CODECOV_* HOME CODACY_*
deps =
{[extra]deps}
cython
numpy
pandas
2019-12-19 22:12:22 +00:00
tensorflow
keras
commands = {[extra]commands}
allowlist_externals = {[extra]allowlist_externals}
2018-09-09 10:56:31 +00:00
# no cython/numpy/pandas for py{py,py3,26,33,34}
[testenv:py26]
2018-09-28 14:24:20 +00:00
deps =
2020-10-19 12:14:53 +00:00
pytest
pytest-cov
2018-09-28 14:24:20 +00:00
coverage
coveralls==1.2.0
codecov
2018-09-28 14:24:20 +00:00
pycparser==2.18
2019-01-06 20:05:36 +00:00
idna==2.7
commands =
{[coverage]commands}
codecov
[testenv:pypy]
deps = {[extra]deps}
[testenv:pypy3]
deps = {[extra]deps}
2016-12-15 12:21:59 +00:00
[testenv:py33]
deps = {[extra]deps}
[testenv:py34]
# py34-compatible pandas
deps = {[extra]deps}
2020-01-24 18:41:14 +00:00
[testenv:tf-no-keras]
deps =
{[extra]deps}
tensorflow
commands =
2020-10-24 17:42:50 +00:00
pytest -v --durations=10 tqdm/tests/tests_keras.py
2020-01-24 18:41:14 +00:00
[testenv:perf]
2017-05-29 15:40:15 +00:00
deps =
2020-10-19 12:14:53 +00:00
pytest
2017-05-29 15:40:15 +00:00
commands =
2020-10-24 17:42:50 +00:00
pytest -v --durations=10 tqdm/tests/tests_perf.py
2017-05-29 15:40:15 +00:00
[testenv:flake8]
deps = flake8
commands =
2019-10-31 19:31:53 +00:00
flake8 -j 8 --count --statistics .
[testenv:setup.py]
deps =
docutils
pygments
2019-02-10 18:38:28 +00:00
py-make>=0.1.0
commands =
python setup.py check --restructuredtext --metadata --strict
python setup.py make none