New test files for rar5
[rarfile.git] / tox.ini
blob2266d09c597ddf1e216b982872eee5fe58c8572f
2 [tox]
3 envlist = lint,docs,py27,py34,py35
5 [testenv]
6 deps = nose
7 py34: pycrypto
8 py35: pyblake2
9 py35: cryptography
10 commands =
11 nosetests []
12 sh ./test/run_dump.sh {envpython} {envname}
13 whitelist_externals = sh
15 [testenv:py27]
16 usedevelop = True
17 deps = nose
18 coverage
19 pyblake2
20 pycrypto
21 commands =
22 nosetests --with-coverage --cover-erase --cover-package=rarfile --cover-html --cover-html-dir=tmp/cover-py27 []
23 sh ./test/run_dump.sh {envpython} {envname}
25 [testenv:lint]
26 basepython = python3
27 deps = prospector[with_everything]
28 pyblake2
29 pycrypto
30 commands = prospector rarfile.py dumprar.py
32 [testenv:docs]
33 basepython = python3
34 deps = sphinx
35 docutils
36 changedir = doc
37 commands =
38 sphinx-build -q -W -b html -d {envtmpdir}/doctrees . ../tmp/dochtml
39 rst2html.py ../README.rst ../tmp/dochtml/README.html