2014-02-05 17:15:50 +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]
|
2014-06-14 18:19:42 +00:00
|
|
|
envlist = dummy, py26, py27, py32, py33, py34
|
2014-02-05 17:15:50 +00:00
|
|
|
|
|
|
|
[testenv]
|
2014-06-12 21:41:29 +00:00
|
|
|
commands = py.test {posargs:--cov pipdeptree --cov-report xml --cov-report html --cov-report term-missing tests/}
|
2014-02-05 17:15:50 +00:00
|
|
|
deps =
|
2014-06-12 21:41:29 +00:00
|
|
|
pytest
|
|
|
|
pytest-cov
|
2014-06-12 23:10:12 +00:00
|
|
|
|
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
# Dummy virtualenvs that get created and used by the tests
|
|
|
|
# These have no test commands
|
|
|
|
# These virtualenvs simply get created and use in other testenvs
|
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
|
|
|
|
[testenv:dummy]
|
|
|
|
deps = -r{toxinidir}/tests/virtualenvs/dummy_requirements.txt
|
2014-06-14 18:19:42 +00:00
|
|
|
commands =
|