Explorar el Código

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
Antoine Beaupré hace 10 años
padre
commit
c990829225
Se han modificado 1 ficheros con 4 adiciones y 2 borrados
  1. 4 2
      tox.ini

+ 4 - 2
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 = *