tox.ini 587 B

123456789101112131415161718192021
  1. # tox configuration - if you change anything here, run this to verify:
  2. # fakeroot -u tox --recreate
  3. [tox]
  4. envlist = py{34,35},flake8
  5. [testenv]
  6. # Change dir to avoid import problem for cython code. The directory does
  7. # not really matter, should be just different from the toplevel dir.
  8. changedir = {toxworkdir}
  9. deps =
  10. -rrequirements.d/development.txt
  11. attic
  12. commands = py.test --cov=borg --cov-config=../.coveragerc --benchmark-skip --pyargs {posargs:borg.testsuite}
  13. # fakeroot -u needs some env vars:
  14. passenv = *
  15. [testenv:flake8]
  16. changedir =
  17. deps = flake8
  18. commands = flake8