diff options
author | Joshua Hesketh <josh@nitrotech.org> | 2013-08-12 10:21:09 +1000 |
---|---|---|
committer | Joshua Hesketh <josh@nitrotech.org> | 2013-08-12 10:21:09 +1000 |
commit | 27a0e270e36eaf5352f7df31ab99ea2b78aa2eb9 (patch) | |
tree | d04d0483bd1d26b296f642c992fdbb2b7b99344c /tox.ini | |
parent | 462715f0a657ad6cf43ae78e5421c6c4660b42f1 (diff) | |
download | turbo-hipster-27a0e270e36eaf5352f7df31ab99ea2b78aa2eb9.tar.gz |
updates for tests
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 31 |
1 files changed, 27 insertions, 4 deletions
@@ -4,7 +4,7 @@ # and then run "tox" from this directory. [tox] -envlist = py26, py27, py33 +envlist = pep8, pyflakes, py26, py27, py33 [testenv] sitepackages = True @@ -12,7 +12,30 @@ setenv = VIRTUAL_ENV={envdir} LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=C -deps = -U - -r{toxinidir}/requirements.txt +deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt -commands = {envpython} setup.py test
\ No newline at end of file +commands = + python setup.py testr --slowest --testr-args='{posargs}' + +[tox:jenkins] +downloadcache = ~/cache/pip + +[testenv:pep8] +commands = flake8 + +[testenv:cover] +commands = + python setup.py testr --coverage + +[testenv:pyflakes] +deps = pyflakes + -r{toxinidir}/requirements.txt +commands = pyflakes turbo-hipster setup.py + +[testenv:venv] +commands = {posargs} + +[flake8] +ignore = E125,H +show-source = True +exclude = .venv,.tox,dist,doc,build,*.egg |