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
This commit is contained in:
Sushil Kumar 2013-12-09 14:17:48 +00:00
parent 78e4408ab2
commit 52219a7b22
1 changed files with 4 additions and 0 deletions

View File

@ -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