tox.ini 642 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,36},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.lock.txt
  11. -rrequirements.d/fuse.txt
  12. commands = py.test -n {env:XDISTN:4} -rs --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<3.6.0
  18. commands = flake8