mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
Skip installation for tox jobs that don't need the in-developement pip
This commit is contained in:
parent
20127bfe98
commit
60c203521f
5
tox.ini
5
tox.ini
|
@ -19,6 +19,7 @@ basepython = python3
|
||||||
commands = pytest --timeout 300 --cov=pip --cov-report=term-missing --cov-report=xml --cov-report=html tests/unit {posargs}
|
commands = pytest --timeout 300 --cov=pip --cov-report=term-missing --cov-report=xml --cov-report=html tests/unit {posargs}
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
|
# Don't skip install here since docs.pipext uses pip's internals.
|
||||||
deps = -r{toxinidir}/tools/docs-requirements.txt
|
deps = -r{toxinidir}/tools/docs-requirements.txt
|
||||||
basepython = python2.7
|
basepython = python2.7
|
||||||
commands =
|
commands =
|
||||||
|
@ -26,6 +27,7 @@ commands =
|
||||||
sphinx-build -W -d {envtmpdir}/doctrees -b man docs docs/build/man
|
sphinx-build -W -d {envtmpdir}/doctrees -b man docs docs/build/man
|
||||||
|
|
||||||
[testenv:packaging]
|
[testenv:packaging]
|
||||||
|
skip_install = True
|
||||||
deps =
|
deps =
|
||||||
check-manifest
|
check-manifest
|
||||||
readme_renderer
|
readme_renderer
|
||||||
|
@ -40,16 +42,19 @@ commands =
|
||||||
isort --check-only --diff
|
isort --check-only --diff
|
||||||
|
|
||||||
[testenv:lint-py2]
|
[testenv:lint-py2]
|
||||||
|
skip_install = True
|
||||||
basepython = python2
|
basepython = python2
|
||||||
deps = {[lint]deps}
|
deps = {[lint]deps}
|
||||||
commands = {[lint]commands}
|
commands = {[lint]commands}
|
||||||
|
|
||||||
[testenv:lint-py3]
|
[testenv:lint-py3]
|
||||||
|
skip_install = True
|
||||||
basepython = python3
|
basepython = python3
|
||||||
deps = {[lint]deps}
|
deps = {[lint]deps}
|
||||||
commands = {[lint]commands}
|
commands = {[lint]commands}
|
||||||
|
|
||||||
[testenv:mypy]
|
[testenv:mypy]
|
||||||
|
skip_install = True
|
||||||
basepython = python3
|
basepython = python3
|
||||||
deps = mypy
|
deps = mypy
|
||||||
commands =
|
commands =
|
||||||
|
|
Loading…
Reference in a new issue