2014-04-20 20:15:19 +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]
|
2017-11-09 16:12:48 +00:00
|
|
|
envlist = py27, py34, py35, py36
|
2014-04-20 20:15:19 +00:00
|
|
|
|
|
|
|
|
[testenv]
|
|
|
|
|
changedir = tests
|
|
|
|
|
|
|
|
|
|
commands =
|
|
|
|
|
coverage run --source tuf aggregate_tests.py
|
2016-11-14 14:58:27 +00:00
|
|
|
coverage report -m --fail-under 97
|
2014-04-20 20:15:19 +00:00
|
|
|
|
|
|
|
|
deps =
|
2017-11-09 16:12:48 +00:00
|
|
|
-r{toxinidir}/ci-requirements.txt
|
2015-06-01 21:32:07 +00:00
|
|
|
|
|
|
|
|
install_command = pip install --pre {opts} {packages}
|