summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorClark Boylan <clark.boylan@gmail.com>2012-06-25 14:39:12 -0700
committerClark Boylan <clark.boylan@gmail.com>2012-06-25 14:39:12 -0700
commitdd224027baeeb1949572eab3a9ee651ccc709b49 (patch)
tree162571362a30f1f0ef6cb58bad8e2153738cb1a5 /tox.ini
parent2db4e6855ef82c18e95bdf4c0b8af52269624c0a (diff)
downloadoslo-dd224027baeeb1949572eab3a9ee651ccc709b49.tar.gz
oslo-dd224027baeeb1949572eab3a9ee651ccc709b49.tar.xz
oslo-dd224027baeeb1949572eab3a9ee651ccc709b49.zip
Update tox.ini.
The contents of tox.ini were out of date. Update them in preparation for Jenkins check and gate tests. Change-Id: I7b6e33b118e0bdab492560c8e36d50c5f7c2c10b
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini38
1 files changed, 12 insertions, 26 deletions
diff --git a/tox.ini b/tox.ini
index ae88f54..6362da7 100644
--- a/tox.ini
+++ b/tox.ini
@@ -3,36 +3,22 @@ envlist = py26,py27,pep8
[testenv]
setenv = VIRTUAL_ENV={envdir}
+ NOSE_WITH_OPENSTACK=1
+ NOSE_OPENSTACK_COLOR=1
+ NOSE_OPENSTACK_RED=0.05
+ NOSE_OPENSTACK_YELLOW=0.025
+ NOSE_OPENSTACK_SHOW_ELAPSED=1
+ NOSE_OPENSTACK_STDOUT=1
deps = -r{toxinidir}/tools/pip-requires
-r{toxinidir}/tools/test-requires
-commands = nosetests
+commands = nosetests {posargs}
[testenv:pep8]
-deps = pep8
-commands = pep8 --repeat --show-source openstack tests setup.py
-
-[testenv:pylint]
-deps = pylint
-commands = pylint --rcfile=pylintrc --output-format=parseable openstack
+deps = pep8==1.1
+commands = pep8 --repeat --show-source --exclude=.venv,.tox,dist,doc .
[testenv:cover]
-commands = nosetests --with-coverage --cover-html --cover-erase --cover-package=openstack
-
-[testenv:sdist]
-commands = python setup.py sdist {posargs}
-
-[testenv:hudson]
-downloadcache = ~/cache/pip
-
-[testenv:jenkins26]
-basepython = python2.6
-deps = file://{toxinidir}/.cache.bundle
-
-[testenv:jenkins27]
-basepython = python2.7
-deps = file://{toxinidir}/.cache.bundle
-
-[testenv:jenkinscover]
-deps = file://{toxinidir}/.cache.bundle
-commands = nosetests --cover-erase --cover-package=openstack --with-xcoverage
+setenv = NOSE_WITH_COVERAGE=1
+[testenv:venv]
+commands = {posargs}