1
0

tox.ini 664 B

1234567891011121314151617181920212223242526272829
  1. [tox]
  2. envlist = packaging, py27, pep8
  3. [testenv]
  4. deps =
  5. coverage
  6. Twisted>=15.1
  7. mock
  8. python-subunit
  9. junitxml
  10. setenv =
  11. PYTHONDONTWRITEBYTECODE = no_byte_code
  12. commands =
  13. /bin/bash -c "find {toxinidir} -name '*.pyc' -delete ; coverage run {env:COVERAGE_OPTS:} --source={toxinidir}/synapse \
  14. {envbindir}/trial {env:TRIAL_FLAGS:} {posargs:tests} {env:TOXSUFFIX:}"
  15. {env:DUMP_COVERAGE_COMMAND:coverage report -m}
  16. [testenv:packaging]
  17. deps =
  18. check-manifest
  19. commands =
  20. check-manifest
  21. [testenv:pep8]
  22. skip_install = True
  23. basepython = python2.7
  24. deps =
  25. flake8
  26. commands = /bin/bash -c "flake8 synapse tests {env:PEP8SUFFIX:}"