blob: d4a007452958d0dca34a41c1f10d4f86d0f56896 [file] [log] [blame]
James E. Blair1e8dd892012-05-30 09:15:05 -07001[tox]
James E. Blairb0fcae42012-07-17 11:12:10 -07002envlist = pep8, pyflakes, py27
3
4[testenv]
5deps = -r{toxinidir}/tools/pip-requires
6 -r{toxinidir}/tools/test-requires
7commands = nosetests {posargs}
James E. Blair1e8dd892012-05-30 09:15:05 -07008
James E. Blaircdd00072012-06-08 19:17:28 -07009[tox:jenkins]
10downloadcache = ~/cache/pip
11
James E. Blair1e8dd892012-05-30 09:15:05 -070012[testenv:pep8]
James E. Blairdb1a2892012-06-15 10:13:52 -070013deps = pep8==1.2
James E. Blair9f9667e2012-06-12 17:51:08 -070014commands = pep8 --repeat --show-source --exclude=.venv,.tox,dist,doc,build .
James E. Blaircdd00072012-06-08 19:17:28 -070015
16[testenv:cover]
17setenv = NOSE_WITH_COVERAGE=1
James E. Blairff986a12012-05-30 14:56:51 -070018
19[testenv:pyflakes]
20deps = pyflakes
21commands = pyflakes zuul zuul-server setup.py
James E. Blaircdd00072012-06-08 19:17:28 -070022
23[testenv:venv]
24commands = {posargs}