mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-20 09:34:42 +04:00
Allow python tests to avoid the network wrt virtualenv
This commit is contained in:
parent
afbb6c787b
commit
893e0a9d49
1 changed files with 1 additions and 0 deletions
1
tox.ini
1
tox.ini
|
|
@ -6,6 +6,7 @@ envlist = py27,py34,py35,pypy
|
||||||
[testenv]
|
[testenv]
|
||||||
deps = -rrequirements-dev.txt
|
deps = -rrequirements-dev.txt
|
||||||
passenv = HOME HOMEPATH PROGRAMDATA TERM
|
passenv = HOME HOMEPATH PROGRAMDATA TERM
|
||||||
|
setenv = VIRTUALENV_NO_DOWNLOAD=1
|
||||||
commands =
|
commands =
|
||||||
coverage erase
|
coverage erase
|
||||||
coverage run -m pytest {posargs:tests}
|
coverage run -m pytest {posargs:tests}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue