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 31 32 33 34 35 36 37 38 39 40 41
|
[tox]
envlist = py27, py34, coverage, docs
[testenv]
deps=
-rrequirements.txt
flake8
pytest
setenv=
PYTHONPATH=lib/
commands=
flake8
py.test
[testenv:coverage]
deps=
-rrequirements.txt
pytest-cov
setenv=
PYTHONPATH=lib/
commands=
py.test --cov pydotplus
[testenv:docs]
basepython=python
changedir=doc
whitelist_externals=
make
dot
deps=
-rrequirements.txt
sphinx
sphinx_rtd_theme
commands=
make html
[flake8]
exclude = ./doc/*,.tox/*,.git/*
[pytest]
addopts = --doctest-modules --ignore=setup.py --ignore=doc/conf.py
|