James E. Blair | 1e8dd89 | 2012-05-30 09:15:05 -0700 | [diff] [blame] | 1 | [tox] |
James E. Blair | b0fcae4 | 2012-07-17 11:12:10 -0700 | [diff] [blame] | 2 | envlist = pep8, pyflakes, py27 |
| 3 | |
| 4 | [testenv] |
| 5 | deps = -r{toxinidir}/tools/pip-requires |
| 6 | -r{toxinidir}/tools/test-requires |
| 7 | commands = nosetests {posargs} |
James E. Blair | 1e8dd89 | 2012-05-30 09:15:05 -0700 | [diff] [blame] | 8 | |
James E. Blair | cdd0007 | 2012-06-08 19:17:28 -0700 | [diff] [blame] | 9 | [tox:jenkins] |
| 10 | downloadcache = ~/cache/pip |
| 11 | |
James E. Blair | 1e8dd89 | 2012-05-30 09:15:05 -0700 | [diff] [blame] | 12 | [testenv:pep8] |
Zhongyue Luo | 5d55607 | 2012-09-21 02:00:47 +0900 | [diff] [blame] | 13 | deps = pep8==1.3.3 |
Zhongyue Luo | aa85ebf | 2012-09-21 16:38:33 +0800 | [diff] [blame] | 14 | commands = pep8 --ignore=E125 --repeat --show-source --exclude=.venv,.tox,dist,doc,build . |
James E. Blair | cdd0007 | 2012-06-08 19:17:28 -0700 | [diff] [blame] | 15 | |
| 16 | [testenv:cover] |
| 17 | setenv = NOSE_WITH_COVERAGE=1 |
James E. Blair | ff986a1 | 2012-05-30 14:56:51 -0700 | [diff] [blame] | 18 | |
| 19 | [testenv:pyflakes] |
| 20 | deps = pyflakes |
| 21 | commands = pyflakes zuul zuul-server setup.py |
James E. Blair | cdd0007 | 2012-06-08 19:17:28 -0700 | [diff] [blame] | 22 | |
| 23 | [testenv:venv] |
| 24 | commands = {posargs} |