Alex Gaynor | 0f66c6d | 2013-08-07 12:18:02 -0700 | [diff] [blame] | 1 | [tox] |
| 2 | envlist = py26,py27,pypy,py32,py33,docs,pep8 |
| 3 | |
| 4 | [testenv] |
Alex Gaynor | 83a0f48 | 2013-08-10 15:48:57 -0400 | [diff] [blame] | 5 | deps = |
| 6 | pytest-cov |
| 7 | pretend |
Donald Stufft | 9e1a48b | 2013-08-09 00:32:30 -0400 | [diff] [blame] | 8 | commands = py.test --cov=cryptography/ --cov=tests/ |
Alex Gaynor | 0f66c6d | 2013-08-07 12:18:02 -0700 | [diff] [blame] | 9 | |
| 10 | [testenv:docs] |
| 11 | deps = sphinx |
| 12 | basepython = python2.7 |
| 13 | changedir = docs |
| 14 | commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . _build/html |
| 15 | |
| 16 | [testenv:pep8] |
| 17 | deps = flake8 |
Donald Stufft | 9e1a48b | 2013-08-09 00:32:30 -0400 | [diff] [blame] | 18 | # E128 continuation line under-indented for visual indent |
| 19 | commands = flake8 --ignore="E128" cryptography/ tests/ docs/ |