summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2012-01-31 13:45:53 -0500
committerMonty Taylor <mordred@inaugust.com>2012-01-31 18:28:13 -0500
commit3da657555d801a487fbfbc97778e2664e50f8434 (patch)
treec6dc6ea80bafe887a6c9a6aceff3aa858e89f6b7 /tox.ini
parentfc3de2491d15f446d6223ff494bbeaef06fda8ac (diff)
downloadkeystone-3da657555d801a487fbfbc97778e2664e50f8434.tar.gz
keystone-3da657555d801a487fbfbc97778e2664e50f8434.tar.xz
keystone-3da657555d801a487fbfbc97778e2664e50f8434.zip
Normalize build files with current jenkins.
Change-Id: I528c3cc4e16dfa1465c8e3ac1062c65dc2ddc2f0
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini26
1 files changed, 26 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 00000000..e9a2fb38
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,26 @@
+[tox]
+envlist = py26,py27,pep8
+
+[testenv]
+deps = -r{toxinidir}/tools/pip-requires
+commands = nosetests
+
+[testenv:pep8]
+commands = pep8 --exclude=vcsversion.py,*.pyc --repeat --show-source bin keystone setup.py
+
+[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:jenkinspep8]
+deps = file://{toxinidir}/.cache.bundle
+commands = pep8 --exclude=vcsversion.py,*.pyc --repeat --show-source bin keystone setup.py
+
+