summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2020-01-12 10:13:09 -0500
committerJason R. Coombs <jaraco@jaraco.com>2020-01-12 11:44:40 -0500
commit8e6b9933e9981fc9ab19eef3dee93d0f703c4140 (patch)
tree6651359e419a7a2d5041ff073b8f929fe865962d /tox.ini
parent335937785a05d68efa291b8710270584d15b8361 (diff)
downloadpython-setuptools-git-8e6b9933e9981fc9ab19eef3dee93d0f703c4140.tar.gz
Restore testing on Python 2, bypassing the requires-python check when installing setuptools.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini4
1 files changed, 3 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index a666f0af..d458dc33 100644
--- a/tox.ini
+++ b/tox.ini
@@ -19,7 +19,9 @@ deps=-r{toxinidir}/tests/requirements.txt
pip_version = pip
install_command = {[helpers]pip} install {opts} {packages}
list_dependencies_command = {[helpers]pip} freeze --all
-setenv=COVERAGE_FILE={toxworkdir}/.coverage.{envname}
+setenv =
+ COVERAGE_FILE={toxworkdir}/.coverage.{envname}
+ py27: PIP_IGNORE_REQUIRES_PYTHON=true
# TODO: The passed environment variables came from copying other tox.ini files
# These should probably be individually annotated to explain what needs them.
passenv=APPDATA HOMEDRIVE HOMEPATH windir APPVEYOR APPVEYOR_* CI CODECOV_* TRAVIS TRAVIS_* NETWORK_REQUIRED