pipdeptree/tox.ini

31 lines
1008 B
INI

# 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]
envlist = py26, py27, py32, py33, py34
[testenv]
commands =
tox -e dummy,cyclic_deps
py.test {posargs:--cov pipdeptree --cov-report xml --cov-report html --cov-report term-missing tests/}
deps =
pytest
pytest-cov
whitelist_externals = tox
# ---------------------------------------------------------------------------
# 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
commands =
[testenv:cyclic_deps]
deps = -r{toxinidir}/tests/virtualenvs/cyclic_deps_requirements.txt
commands =