2015-06-07 22:06:41 +00:00
|
|
|
# Tox (http://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]
|
2015-10-14 11:06:59 +00:00
|
|
|
envlist = py26, py27, py32, py33, py34, pypy, pypy3, flake8, setup.py
|
2015-06-07 22:06:41 +00:00
|
|
|
|
|
|
|
[testenv]
|
2015-06-18 22:02:13 +00:00
|
|
|
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
|
2015-06-07 22:06:41 +00:00
|
|
|
deps =
|
|
|
|
nose
|
2015-10-09 21:01:02 +00:00
|
|
|
coverage<4
|
2015-06-18 22:02:13 +00:00
|
|
|
coveralls
|
|
|
|
commands =
|
|
|
|
nosetests --with-coverage --cover-package=tqdm -v tqdm/
|
|
|
|
coveralls
|
2015-06-07 22:06:41 +00:00
|
|
|
|
|
|
|
[testenv:flake8]
|
|
|
|
deps = flake8
|
|
|
|
commands =
|
2015-10-13 22:42:01 +00:00
|
|
|
flake8 --max-line-length=80 --count --statistics --exit-zero tqdm/
|
|
|
|
flake8 --max-line-length=80 --count --statistics --exit-zero examples/
|
2015-11-01 16:01:18 +00:00
|
|
|
flake8 --max-line-length=80 --count --statistics --exit-zero .
|
2015-10-13 22:42:01 +00:00
|
|
|
|
|
|
|
[testenv:setup.py]
|
|
|
|
deps =
|
|
|
|
docutils
|
2015-10-14 11:06:59 +00:00
|
|
|
pygments
|
2015-10-13 22:42:01 +00:00
|
|
|
commands =
|
|
|
|
python setup.py check --restructuredtext --metadata --strict
|
2015-10-15 13:47:02 +00:00
|
|
|
python setup.py make none
|