summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorSushil Kumar <sushil.kumar2@globallogic.com>2013-12-09 14:17:48 +0000
committerSushil Kumar <sushil.kumar2@globallogic.com>2013-12-12 17:06:31 +0000
commit700ba9a7c21cf9e170b44b41a2d1acd8cc9e0da5 (patch)
tree7c090dcd5b92b22f21bcc58fd2f8c0cc3532ee67 /tox.ini
parent35be2e5d32b3d6a78c4973cb601099db70d89ceb (diff)
downloadhorizon-700ba9a7c21cf9e170b44b41a2d1acd8cc9e0da5.tar.gz
Updates tox.ini to use new features
Reasons: - tox update v1.6 Changes: - tox 1.6 allows us to skip the sdist step, which is slow. - It also allows us to override the install line. In this case, it's important as it allows us to stop getting pre-release software we weren't asking for. Original patch by Monty Taylor, talked about here: http://lists.openstack.org/pipermail/openstack-dev/2013-September/015495.html Change-Id: I0b2da3369ec303b9997305f602e6c444cafe14b0
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini4
1 files changed, 4 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 23ad8d6a0..3d3f51ba7 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,7 +1,11 @@
[tox]
envlist = py26,py27,py27dj14,pep8,py33
+minversion = 1.6
+skipsdist = True
[testenv]
+usedevelop = True
+install_command = pip install -U {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
NOSE_WITH_OPENSTACK=1
NOSE_OPENSTACK_COLOR=1