2015-07-13 16:45:49 +00:00
|
|
|
# tox configuration - if you change anything here, run this to verify:
|
|
|
|
# fakeroot -u tox --recreate
|
|
|
|
|
2013-06-24 11:53:02 +00:00
|
|
|
[tox]
|
2017-01-03 23:57:35 +00:00
|
|
|
envlist = py{34,35,36},flake8
|
2013-06-24 11:53:02 +00:00
|
|
|
|
|
|
|
[testenv]
|
2015-07-13 16:45:49 +00:00
|
|
|
# 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}
|
2015-10-01 04:51:19 +00:00
|
|
|
deps =
|
|
|
|
-rrequirements.d/development.txt
|
2016-06-21 18:06:36 +00:00
|
|
|
-rrequirements.d/attic.txt
|
2016-08-21 17:27:23 +00:00
|
|
|
-rrequirements.d/fuse.txt
|
|
|
|
commands = py.test -rs --cov=borg --cov-config=../.coveragerc --benchmark-skip --pyargs {posargs:borg.testsuite}
|
2015-07-13 16:45:49 +00:00
|
|
|
# fakeroot -u needs some env vars:
|
|
|
|
passenv = *
|
2016-01-30 21:01:27 +00:00
|
|
|
|
|
|
|
[testenv:flake8]
|
|
|
|
changedir =
|
|
|
|
deps = flake8
|
2016-07-27 13:12:52 +00:00
|
|
|
commands = flake8
|