summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorAntoine Beaupré <anarcat@koumbit.org>2015-10-01 00:51:19 -0400
committerAntoine Beaupré <anarcat@koumbit.org>2015-10-01 00:51:19 -0400
commitc99082922553114c981109178e4b3d5c8c13f195 (patch)
treea88c5f21db64fa97797b8faa6a7f25ec98329d5a /tox.ini
parentbcd94b96e0e2a7932e75557403e08d70d2e7fc94 (diff)
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
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini6
1 files changed, 4 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index d177c121a..8fd697657 100644
--- a/tox.ini
+++ b/tox.ini
@@ -2,13 +2,15 @@
# fakeroot -u tox --recreate
[tox]
-envlist = py32, py33, py34, py35
+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
+deps =
+ -rrequirements.d/development.txt
+ attic: attic
commands = py.test --cov=borg --pyargs {posargs:borg.testsuite}
# fakeroot -u needs some env vars:
passenv = *