synapse/tox.ini
2015-11-13 16:22:51 +00:00

28 lines
494 B
INI

[tox]
envlist = packaging, py27, pep8
[testenv]
deps =
coverage
Twisted>=15.1
mock
python-subunit
junitxml
setenv =
PYTHONDONTWRITEBYTECODE = no_byte_code
commands =
/bin/bash -c "coverage run --source=synapse {envbindir}/trial {posargs:tests} {env:TOXSUFFIX:}"
coverage report -m
[testenv:packaging]
deps =
check-manifest
commands =
check-manifest
[testenv:pep8]
skip_install = True
basepython = python2.7
deps =
flake8
commands = flake8 synapse