Use VIRTUALENV_NO_DOWNLOAD in tox (#200)

This commit is contained in:
Hynek Schlawack 2017-06-01 09:20:30 +02:00 committed by GitHub
parent 4db1f4ef17
commit f8dab9b7ac
1 changed files with 4 additions and 0 deletions

View File

@ -3,6 +3,10 @@ envlist = py27,py34,py35,py36,pypy,flake8,manifest,docs,readme,coverage-report
[testenv] [testenv]
# Prevent random setuptools/pip breakages like
# https://github.com/pypa/setuptools/issues/1042 from breaking our builds.
setenv =
VIRTUALENV_NO_DOWNLOAD=1
deps = -rdev-requirements.txt deps = -rdev-requirements.txt
commands = python -m pytest {posargs} commands = python -m pytest {posargs}