move attic test dependency into own file

so you can just empty that file to remove the attic-based tests
when testing in a OpenSSL 1.1 environment.
This commit is contained in:
Thomas Waldmann 2016-06-21 20:06:36 +02:00
parent a19c9861bf
commit 27c0d0f074
2 changed files with 6 additions and 1 deletions

5
requirements.d/attic.txt Normal file
View File

@ -0,0 +1,5 @@
# Please note:
# attic only builds using OpenSSL 1.0.x, it can not be installed using OpenSSL >= 1.1.0.
# If attic is not installed, our unit tests will just skip the tests that require attic.
attic

View File

@ -10,7 +10,7 @@ envlist = py{34,35},flake8
changedir = {toxworkdir}
deps =
-rrequirements.d/development.txt
attic
-rrequirements.d/attic.txt
commands = py.test --cov=borg --cov-config=../.coveragerc --benchmark-skip --pyargs {posargs:borg.testsuite}
# fakeroot -u needs some env vars:
passenv = *