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]
|
2014-05-03 12:21:10 +00:00
|
|
|
envlist = py32, py33, py34
|
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-07-25 13:39:42 +00:00
|
|
|
deps = -rrequirements.d/development.txt
|
2015-08-07 23:55:46 +00:00
|
|
|
commands = py.test --cov=borg --pyargs {posargs:borg.testsuite}
|
2015-07-13 16:45:49 +00:00
|
|
|
# fakeroot -u needs some env vars:
|
|
|
|
passenv = *
|