add attic dependency for build as a separate factor

this way we don't depend on attic for regular build, but we can still see proper test coverage
This commit is contained in:
Antoine Beaupré 2015-10-01 00:51:19 -04:00
parent bcd94b96e0
commit c990829225
1 changed files with 4 additions and 2 deletions

View File

@ -2,13 +2,15 @@
# fakeroot -u tox --recreate
[tox]
envlist = py32, py33, py34, py35
envlist = py{32,33,34,35}{,-attic}
[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
deps =
-rrequirements.d/development.txt
attic: attic
commands = py.test --cov=borg --pyargs {posargs:borg.testsuite}
# fakeroot -u needs some env vars:
passenv = *