mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-28 10:49:16 +00:00
c990829225
this way we don't depend on attic for regular build, but we can still see proper test coverage
16 lines
494 B
INI
16 lines
494 B
INI
# tox configuration - if you change anything here, run this to verify:
|
|
# fakeroot -u tox --recreate
|
|
|
|
[tox]
|
|
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
|
|
attic: attic
|
|
commands = py.test --cov=borg --pyargs {posargs:borg.testsuite}
|
|
# fakeroot -u needs some env vars:
|
|
passenv = *
|