python-tuf/tox.ini
Vladimir Diaz f978802b70 Update tox.ini
Decrease coverage's `fail-under %` until TUF v1.0 changes are fully implemented.
Note: Coverage under Python 2.7 is currently at 95%
2016-01-27 17:36:58 -05:00

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