]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
tox: Pass --upgrade to pip install 571/head
authorZack Cerza <zack@redhat.com>
Tue, 14 Jul 2015 16:29:27 +0000 (10:29 -0600)
committerZack Cerza <zack@redhat.com>
Tue, 14 Jul 2015 16:39:28 +0000 (10:39 -0600)
Signed-off-by: Zack Cerza <zack@redhat.com>
tox.ini

diff --git a/tox.ini b/tox.ini
index dabc47563aaa6d3d2413dd611db3414829c8918c..4f0ef81f6f85c30c769c560c19c3f23340d3a250 100644 (file)
--- 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