tqdm/tox.ini

99 lines
1.9 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 =
nose
coverage
2015-06-18 22:02:13 +00:00
coveralls
commands =
nosetests --with-coverage --cover-package=tqdm --ignore-files="tests_perf\.py" -d -v tqdm/
2016-10-07 10:06:19 +00:00
- coveralls
[extra]
deps =
{[coverage]deps}
nose-timer
codecov
commands =
nosetests --with-coverage --with-timer --cover-package=tqdm --ignore-files="tests_perf\.py" -d -v tqdm/
- coveralls
codecov
[testenv]
passenv = CI TRAVIS TRAVIS_* TOXENV CODECOV_*
deps =
{[extra]deps}
cython
numpy
pandas
2019-12-19 22:12:22 +00:00
tensorflow
keras
commands = {[extra]commands}
2018-09-09 10:56:31 +00:00
# no cython/numpy/pandas for py{py,py3,26,33,34}
[testenv:py26]
# no codecov and timer for py26
2018-09-28 14:24:20 +00:00
deps =
nose
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}
commands = {[extra]commands}
[testenv:pypy3]
deps = {[extra]deps}
commands = {[extra]commands}
2016-12-15 12:21:59 +00:00
[testenv:py33]
deps = {[extra]deps}
commands = {[extra]commands}
[testenv:py34]
# py34-compatible pandas
deps = {[extra]deps}
commands = {[extra]commands}
2020-01-24 18:41:14 +00:00
[testenv:tf-no-keras]
deps =
{[extra]deps}
tensorflow
commands =
nosetests --with-timer tqdm/tests/tests_keras.py -d -v
[testenv:perf]
2017-05-29 15:40:15 +00:00
deps =
nose
nose-timer
2017-05-29 15:40:15 +00:00
commands =
nosetests --with-timer tqdm/tests/tests_perf.py -d -v
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