forked-synapse/tox.ini
Daniel Wagner-Hall e768d7b3a6 Allow tests to be filter when using tox
`tox` will run all tests
`tox tests.api.test_auth.AuthTestCase` will run just the tests in AuthTestCase
2015-08-26 11:41:42 +01:00

28 lines
497 B
INI

[tox]
envlist = packaging, py27, pep8
[testenv]
deps =
coverage
Twisted>=15.1
mock
setenv =
PYTHONDONTWRITEBYTECODE = no_byte_code
commands =
coverage run --source=./synapse {envbindir}/trial {posargs:tests}
coverage report -m
install_command =
pip install --process-dependency-links --pre {opts} {packages}
[testenv:packaging]
deps =
check-manifest
commands =
check-manifest
[testenv:pep8]
basepython = python2.7
deps =
flake8
commands = flake8 synapse