You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
682 B
40 lines
682 B
[tox]
|
|
envlist = py27, py34, py35, py36, pep8, docs, packaging
|
|
|
|
[testenv]
|
|
whitelist_externals = make
|
|
setenv =
|
|
PYTHONPATH = {toxinidir}:{toxinidir}/zhon
|
|
commands = make test
|
|
deps = -r{toxinidir}/requirements.txt
|
|
|
|
[testenv:pep8]
|
|
whitelist_externals = make
|
|
deps =
|
|
flake8
|
|
pep8-naming
|
|
flake8-blind-except
|
|
flake8-builtins
|
|
flake8-pep3101
|
|
flake8-string-format
|
|
commands = make lint
|
|
|
|
[testenv:docs]
|
|
changedir = docs
|
|
deps =
|
|
sphinx
|
|
releases
|
|
whitelist_externals = make
|
|
commands =
|
|
make clean
|
|
make html
|
|
make linkcheck
|
|
|
|
[testenv:packaging]
|
|
deps =
|
|
check-manifest
|
|
readme_renderer
|
|
commands =
|
|
check-manifest
|
|
python setup.py check -m -r -s
|