summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2016-05-20 11:34:48 -0400
committerNed Batchelder <ned@nedbatchelder.com>2016-05-20 11:34:48 -0400
commit5b75a00be6cf6574c20a23abb1e5cd9a2cf6427b (patch)
tree7d9d8e814d6c22f0aa7b42b6a81a7daa0c866046 /tox.ini
parentfffbba825cc289b596828fd6542b8a9f7f79074a (diff)
downloadpython-coveragepy-5b75a00be6cf6574c20a23abb1e5cd9a2cf6427b.tar.gz
Test system installation changes to get appveyor to work.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini9
1 files changed, 8 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 29037c3..a80dac3 100644
--- a/tox.ini
+++ b/tox.ini
@@ -10,7 +10,7 @@ usedevelop = True
deps =
# https://requires.io/github/nedbat/coveragepy/requirements/
- pip==8.1.1
+ pip==8.1.2
nose==1.3.7
mock==1.3.0
PyContracts==1.7.9
@@ -21,6 +21,10 @@ deps =
# setuptools no longer supports Python 3.2
pypy3_24: setuptools==21.0.0
+# Windows can't update the pip version with pip running, so use Python
+# to install things.
+install_command = python -m pip install -U {opts} {packages}
+
passenv = *
setenv =
pypy,pypy{24,26,40,51,3_24}: COVERAGE_NO_EXTENSION=no C extension under PyPy
@@ -42,6 +46,9 @@ commands =
python setup.py --quiet build_ext --inplace
python igor.py test_with_tracer c {posargs}
+[testenv:py26]
+install_command = python -m pip.__main__ install -U {opts} {packages}
+
[testenv:pypy]
# The "pypy" environment is for Travis. Probably can make Travis use one of
# the other environments...