magic-wormhole-transit-relay/tox.ini
Brian Warner 46abd75fda move transit-relevant files out from magic-wormhole
These files are copied (with roughly-appropriate changes to the top-level
setup.py, NEWS.md, etc) from magic-wormhole 0.10.3, commit
be166b483c5796ab3a9ad588ccf671b7eabdd96c).
2017-09-12 23:52:21 -07:00

30 lines
745 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 = {py27,py34,py35,py36,pypy}
skip_missing_interpreters = True
minversion = 2.4.0
[testenv]
usedevelop = True
extras = dev
deps =
pyflakes >= 1.2.3
commands =
pyflakes setup.py src
wormhole --version
python -m twisted.trial {posargs:wormhole_transit_relay}
[testenv:coverage]
deps =
pyflakes >= 1.2.3
coverage
commands =
pyflakes setup.py src
wormhole --version
coverage run --branch -m twisted.trial {posargs:wormhole_transit_relay}
coverage xml