mirror of https://github.com/pypa/pip
Move requirement files to tools/requirements/
This commit is contained in:
parent
800f866600
commit
c6da85a6eb
10
tox.ini
10
tox.ini
|
@ -15,10 +15,10 @@ setenv =
|
|||
# This is required in order to get UTF-8 output inside of the subprocesses
|
||||
# that our tests use.
|
||||
LC_CTYPE = en_US.UTF-8
|
||||
deps = -r{toxinidir}/tools/tests-requirements.txt
|
||||
deps = -r{toxinidir}/tools/requirements/tests.txt
|
||||
commands_pre =
|
||||
python -c 'import shutil, sys; shutil.rmtree(sys.argv[1], ignore_errors=True)' {toxinidir}/tests/data/common_wheels
|
||||
{[helpers]pip} wheel -w {toxinidir}/tests/data/common_wheels -r {toxinidir}/tools/tests-common_wheels-requirements.txt
|
||||
{[helpers]pip} wheel -w {toxinidir}/tests/data/common_wheels -r {toxinidir}/tools/requirements/tests-common_wheels.txt
|
||||
commands = pytest --timeout 300 []
|
||||
install_command = {[helpers]pip} install {opts} {packages}
|
||||
list_dependencies_command = {[helpers]pip} freeze --all
|
||||
|
@ -29,7 +29,7 @@ commands = pytest --timeout 300 --cov=pip --cov-report=term-missing --cov-report
|
|||
|
||||
[testenv:docs]
|
||||
# Don't skip install here since pip_sphinxext uses pip's internals.
|
||||
deps = -r{toxinidir}/tools/docs-requirements.txt
|
||||
deps = -r{toxinidir}/tools/requirements/docs.txt
|
||||
basepython = python3.6
|
||||
commands =
|
||||
sphinx-build -W -d {envtmpdir}/doctrees/html -b html docs/html docs/build/html
|
||||
|
@ -50,7 +50,7 @@ commands =
|
|||
python setup.py check -m -r -s
|
||||
|
||||
[lint]
|
||||
deps = -r{toxinidir}/tools/lint-requirements.txt
|
||||
deps = -r{toxinidir}/tools/requirements/lint.txt
|
||||
|
||||
[testenv:lint-py2]
|
||||
skip_install = True
|
||||
|
@ -74,7 +74,7 @@ commands =
|
|||
[testenv:mypy]
|
||||
skip_install = True
|
||||
basepython = python3
|
||||
deps = -r{toxinidir}/tools/mypy-requirements.txt
|
||||
deps = -r{toxinidir}/tools/requirements/mypy.txt
|
||||
commands_pre =
|
||||
commands =
|
||||
mypy src
|
||||
|
|
Loading…
Reference in New Issue