mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-26 01:37:20 +00:00
9dccc809a9
pytest-benchmark (and its dependency "statistics") needs py 3.3+. we do not want to run benchmarks on travis anyway, but even its presence makes trouble due to this, so we just remove it from there again. as --benchmark-skip is also removed from tox configuration, this means benchmarks are run by default when pytest-benchmark is installed.
16 lines
478 B
INI
16 lines
478 B
INI
# tox configuration - if you change anything here, run this to verify:
|
|
# fakeroot -u tox --recreate
|
|
|
|
[tox]
|
|
envlist = py{32,33,34,35}
|
|
|
|
[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
|
|
commands = py.test --cov=borg --pyargs {posargs:borg.testsuite}
|
|
# fakeroot -u needs some env vars:
|
|
passenv = *
|