mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-23 08:16:54 +00:00
add development.txt and modify tox.ini
This commit is contained in:
parent
ed2548ca02
commit
0b226aec7a
2 changed files with 5 additions and 3 deletions
4
requirements.d/development.txt
Normal file
4
requirements.d/development.txt
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
tox
|
||||||
|
mock
|
||||||
|
pytest
|
||||||
|
Cython
|
4
tox.ini
4
tox.ini
|
@ -19,9 +19,7 @@ envlist = py32, py33, py34
|
||||||
# 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 =
|
deps = -rrequirements.d/development.txt
|
||||||
pytest
|
|
||||||
mock
|
|
||||||
commands = py.test --pyargs {posargs:borg.testsuite}
|
commands = py.test --pyargs {posargs:borg.testsuite}
|
||||||
# fakeroot -u needs some env vars:
|
# fakeroot -u needs some env vars:
|
||||||
passenv = *
|
passenv = *
|
||||||
|
|
Loading…
Reference in a new issue