1
0
Fork 0
mirror of https://github.com/evilhero/mylar synced 2024-12-23 00:02:38 +00:00
mylar/lib/rarfile/tox.ini

42 lines
834 B
INI
Raw Normal View History

2018-06-14 17:07:39 +00:00
[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