mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
Decrease coverage's `fail-under %` until TUF v1.0 changes are fully implemented. Note: Coverage under Python 2.7 is currently at 95%
28 lines
662 B
INI
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}
|