mirror of
https://github.com/borgbackup/borg.git
synced 2025-01-22 07:19:02 +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
|
# fakeroot -u tox --recreate
|
||||||
|
|
||||||
[tox]
|
[tox]
|
||||||
envlist = py32, py33, py34, py35
|
envlist = py{32,33,34,35}{,-attic}
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
# Change dir to avoid import problem for cython code. The directory does
|
# Change dir to avoid import problem for cython code. The directory does
|
||||||
# not really matter, should be just different from the toplevel dir.
|
# not really matter, should be just different from the toplevel dir.
|
||||||
changedir = {toxworkdir}
|
changedir = {toxworkdir}
|
||||||
deps = -rrequirements.d/development.txt
|
deps =
|
||||||
|
-rrequirements.d/development.txt
|
||||||
|
attic: attic
|
||||||
commands = py.test --cov=borg --pyargs {posargs:borg.testsuite}
|
commands = py.test --cov=borg --pyargs {posargs:borg.testsuite}
|
||||||
# fakeroot -u needs some env vars:
|
# fakeroot -u needs some env vars:
|
||||||
passenv = *
|
passenv = *
|
||||||
|
|
Loading…
Reference in a new issue