dpkt/tox.ini

35 lines
562 B
INI

[tox]
envlist = py26, py27, py35, docs
[testenv]
install_command =
pip install {opts} {packages}
deps =
coverage
pytest
pytest-cov
stdeb
commands =
py.test --cov=dpkt dpkt
[testenv:style]
deps =
flake8
commands =
python setup.py flake8
[testenv:coveralls]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
deps =
coveralls
usedevelop = true
commands =
coverage report
coveralls
[testenv:docs]
changedir=docs
deps = -rdocs/requirements.txt
commands = sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html