blob: 334cc94ec1cbd7d94b10fa565b9ed000a3e4e5d8 [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]
Zhongyue Luo5d556072012-09-21 02:00:47 +090013deps = pep8==1.3.3
Zhongyue Luoaa85ebf2012-09-21 16:38:33 +080014commands = pep8 --ignore=E125 --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}