mirror of
https://github.com/borgbackup/borg.git
synced 2025-01-21 23:09:40 +00:00
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:
parent
bcd94b96e0
commit
c990829225
1 changed files with 4 additions and 2 deletions
6
tox.ini
6
tox.ini
|
@ -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 = *
|
||||
|
|
Loading…
Reference in a new issue