From de89850f29ebc93f2d5c8882c18052400e881423 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Tue, 14 Jul 2015 10:29:27 -0600 Subject: [PATCH] tox: Pass --upgrade to pip install Signed-off-by: Zack Cerza --- tox.ini | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tox.ini b/tox.ini index dabc47563a..4f0ef81f6f 100644 --- a/tox.ini +++ b/tox.ini @@ -2,6 +2,7 @@ envlist = docs, py27, py27-integration, flake8 [testenv:py27] +install_command = pip install --upgrade {opts} {packages} passenv = HOME sitepackages=True deps= @@ -15,6 +16,7 @@ deps= commands=py.test --cov=teuthology --cov-report=term -v {posargs:teuthology scripts} [testenv:py27-integration] +install_command = pip install --upgrade {opts} {packages} passenv = HOME sitepackages=True deps= @@ -29,11 +31,13 @@ commands=py.test --cov=teuthology --cov-report=term -v {posargs:teuthology/test/ basepython=python2.7 [testenv:flake8] +install_command = pip install --upgrade {opts} {packages} deps= flake8 commands=flake8 --select=F,E9 {posargs:teuthology scripts} [testenv:docs] +install_command = pip install --upgrade {opts} {packages} basepython=python changedir=docs deps=sphinx -- 2.39.5