File: tox.ini

package info (click to toggle)
python-pyeclib 1.6.0-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 7,628 kB
  • sloc: python: 2,334; ansic: 980; sh: 127; makefile: 30
file content (30 lines) | stat: -rw-r--r-- 649 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[tox]
envlist = py27,py35,py36,py37,pep8

[testenv]
deps =
  -r{toxinidir}/test-requirements.txt
commands=
    nosetests --no-path-adjustment -v test/

[testenv:liberasurecode-git]
setenv = LIBERASURECODE_DIR={envdir}/liberasurecode
    ISAL_DIR={envdir}/isa-l
    JERASURE_DIR={envdir}/jerasure
    GFCOMPLETE_DIR={envdir}/gf-complete
passenv = LIBERASURECODE_REF
install_command =
    {toxinidir}/tools/pip-install-with-liberasurecode.sh {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