summaryrefslogtreecommitdiff
path: root/tox.ini
blob: b68e8c7e8f24656f3d747291cb7a922e0f15702f (plain)
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
[tox]
envlist = py27,py35,pep8

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

[testenv:liberasurecode-git]
setenv = LIBERASURECODE_DIR={envdir}/liberasurecode
passenv = LIBERASURECODE_REF
install_command =
    {toxinidir}/tools/pip-install-with-liberasurecode.sh {opts} {packages}

[testenv:pep8]
skip_install = True
deps=
    pep8
commands=
    pep8 pyeclib/ setup.py test/

[testenv:venv]
commands = {posargs}

[testenv:docs]
commands = python setup.py build_sphinx