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]
|
2014-06-06 22:57:23 +00:00
|
|
|
envlist = py26, py27, py32, py33, py34
|
2014-04-20 20:15:19 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
[testenv]
|
|
|
|
|
changedir = tests
|
|
|
|
|
|
|
|
|
|
commands =
|
|
|
|
|
coverage run --source tuf aggregate_tests.py
|
2014-05-01 18:15:49 +00:00
|
|
|
coverage report -m
|
2014-04-20 20:15:19 +00:00
|
|
|
|
|
|
|
|
deps =
|
|
|
|
|
coverage
|
|
|
|
|
pynacl
|
|
|
|
|
pycrypto
|
2014-06-06 22:57:23 +00:00
|
|
|
|
2014-06-10 12:28:29 +00:00
|
|
|
|
2014-06-06 22:57:23 +00:00
|
|
|
[testenv:py26]
|
|
|
|
|
deps =
|
2014-06-06 23:39:25 +00:00
|
|
|
{[testenv]deps}
|
2014-06-06 22:57:23 +00:00
|
|
|
unittest2
|