pyeclib/tox.ini
Tim Burke ab49ad922d Test under py39
Change-Id: Ic6a51675dbf1c4c7a7540d9a0d80ee33cb064b80
2021-03-30 14:48:10 -07:00

30 lines
699 B
INI

[tox]
envlist = py{27,35,36,37,38,39}-compilelibs,pep8,docs
[testenv]
deps =
-r{toxinidir}/test-requirements.txt
commands=
nosetests --no-path-adjustment -v test/
setenv = LIBERASURECODE_DIR={envdir}/liberasurecode
ISAL_DIR={envdir}/isa-l
JERASURE_DIR={envdir}/jerasure
GFCOMPLETE_DIR={envdir}/gf-complete
passenv = LIBERASURECODE_REF
install_command =
compilelibs: {toxinidir}/tools/pip-install-with-liberasurecode.sh {opts} {packages}
!compilelibs: pip install {opts} {packages}
[testenv:pep8]
skip_install = True
deps=
flake8
commands=
flake8 pyeclib/ setup.py test/
[testenv:venv]
commands = {posargs}
[testenv:docs]
commands = python setup.py build_sphinx