mylar/lib/rarfile/tox.ini

42 lines
834 B
INI

[tox]
envlist = lint,docs,py27,py34,py35,py36
[testenv]
deps = nose
py34: pycrypto
py35: pyblake2
py35: cryptography
py36: cryptography
commands =
nosetests []
sh ./test/run_dump.sh {envpython} {envname}
whitelist_externals = sh
[testenv:py27]
usedevelop = True
deps = nose
coverage
pyblake2
pycrypto
commands =
nosetests --with-coverage --cover-erase --cover-package=rarfile --cover-html --cover-html-dir=tmp/cover-py27 []
sh ./test/run_dump.sh {envpython} {envname}
[testenv:lint]
basepython = python3
deps = prospector[with_everything]
pyblake2
pycrypto
commands = prospector rarfile.py dumprar.py
[testenv:docs]
basepython = python3
deps = sphinx
docutils
changedir = doc
commands =
sphinx-build -q -W -b html -d {envtmpdir}/doctrees . ../tmp/dochtml
rst2html.py ../README.rst ../tmp/dochtml/README.html