2014-12-18 15:48:20 +00:00
|
|
|
[tox]
|
2014-12-29 21:22:56 +00:00
|
|
|
envlist = py26, py27
|
2014-12-18 15:48:20 +00:00
|
|
|
|
|
|
|
[testenv]
|
|
|
|
install_command =
|
|
|
|
pip install {opts} {packages}
|
|
|
|
deps =
|
|
|
|
coverage
|
|
|
|
pytest
|
|
|
|
pytest-cov
|
|
|
|
stdeb
|
|
|
|
commands =
|
|
|
|
py.test --cov=dpkt dpkt
|
|
|
|
coverage combine
|
|
|
|
|
|
|
|
[testenv:style]
|
|
|
|
deps =
|
|
|
|
flake8
|
|
|
|
commands =
|
|
|
|
python setup.py flake8
|
2014-12-29 21:22:56 +00:00
|
|
|
|
|
|
|
[testenv:coveralls]
|
|
|
|
deps =
|
|
|
|
coveralls
|
|
|
|
usedevelop = true
|
|
|
|
commands =
|
|
|
|
coverage combine
|
|
|
|
coverage report
|
|
|
|
coveralls
|
|
|
|
|
2014-12-18 15:48:20 +00:00
|
|
|
[testenv:docs]
|
|
|
|
changedir=docs/
|
|
|
|
deps =
|
|
|
|
sphinx
|
|
|
|
commands =
|
|
|
|
sphinx-build -b linkcheck ./ _build/
|
|
|
|
sphinx-build -b html ./ _build/
|
|
|
|
|