python-tuf/tox.ini
Vladimir Diaz 4025281a91 Merge github.com:theupdateframework/tuf into reduce-ci-duration
Conflicts:
	tuf/client/updater.py
2016-11-14 10:10:49 -05:00

29 lines
664 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, py35
[testenv]
changedir = tests
commands =
coverage run --source tuf aggregate_tests.py
coverage report -m --fail-under 97
coverage html
deps =
-r{toxinidir}/requirements.txt
install_command = pip install --pre {opts} {packages}
[testenv:py26]
deps =
-r{toxinidir}/requirements.txt
unittest2
importlib
install_command = pip install --pre {opts} {packages}