borg/tox.ini

22 lines
587 B
INI
Raw Normal View History

# tox configuration - if you change anything here, run this to verify:
# fakeroot -u tox --recreate
2013-06-24 11:53:02 +00:00
[tox]
2016-01-30 21:01:27 +00:00
envlist = py{34,35},flake8
2013-06-24 11:53:02 +00:00
[testenv]
# Change dir to avoid import problem for cython code. The directory does
# not really matter, should be just different from the toplevel dir.
changedir = {toxworkdir}
deps =
-rrequirements.d/development.txt
attic
commands = py.test --cov=borg --cov-config=../.coveragerc --benchmark-skip --pyargs {posargs:borg.testsuite}
# fakeroot -u needs some env vars:
passenv = *
2016-01-30 21:01:27 +00:00
[testenv:flake8]
changedir =
deps = flake8
commands = flake8