From ac30643631b6bc1c40116061f8eb280a7881e422 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Tue, 15 Jul 2014 11:09:09 -0700 Subject: Update tox.ini to match rest of project There's a few things - most notably the missing venv env, but also getting tox to skip the sdist step in builds that will align python-barbicanclient with the rest of the project. Change-Id: I7b3c8f992040c0a7f0cace1452a93f4958d0cd2a --- tox.ini | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tox.ini b/tox.ini index 5ccb5f3..3450cfc 100644 --- a/tox.ini +++ b/tox.ini @@ -4,9 +4,13 @@ # and then run "tox" from this directory. [tox] +minversion = 1.6 envlist = py26, py27, py33, pypy, pep8 +skipsdist = True [testenv] +usedevelop = True +install_command = pip install -U {opts} {packages} deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands = @@ -17,6 +21,9 @@ commands = [testenv:pep8] commands = {toxinidir}/tools/hacking.sh {posargs} +[testenv:venv] +commands = {posargs} + [tox:jenkins] downloadcache = ~/cache/pip -- cgit v1.2.1