1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-26 01:37:20 +00:00
borg/tox.ini
Thomas Waldmann b15469c3c8 drop support for py36, require py37+, fixes #5790
if you do not have python >= 3.7, you can still use borg 1.1.x or 1.0.x.

another option is to use the fat binary from github releases, which
includes python and all other stuff needed.
2021-06-16 15:31:34 +02:00

31 lines
691 B
INI

# tox configuration - if you change anything here, run this to verify:
# fakeroot -u tox --recreate
[tox]
envlist = py{37,38,39,310}-{none,fuse2,fuse3}
minversion = 3.2
requires =
pkgconfig
cython
wheel
setuptools_scm
[testenv]
setenv =
fuse2: BORG_FUSE_IMPL=llfuse
fuse3: BORG_FUSE_IMPL=pyfuse3
deps =
fuse2: llfuse
fuse3: pyfuse3
-rrequirements.d/development.txt
commands = py.test -v -n {env:XDISTN:1} -rs --cov=borg --cov-config=.coveragerc --benchmark-skip --pyargs {posargs:borg.testsuite}
# fakeroot -u needs some env vars:
passenv = *
[testenv:flake8]
skip_sdist=true
skip_install=true
changedir =
deps =
flake8
commands = flake8 src scripts conftest.py