tox: Only install pip as dep when needed

misc/eslint don't actually install anything, so no point in updating pip
there.

pyroma/check-manifest should install pip though.
This commit is contained in:
Florian Bruhin 2016-08-09 11:10:50 +02:00
parent a4585bb3d5
commit 00673ef7da

11
tox.ini
View File

@ -75,7 +75,7 @@ ignore_errors = true
basepython = python3 basepython = python3
# For global .gitignore files # For global .gitignore files
passenv = HOME passenv = HOME
deps = -r{toxinidir}/misc/requirements/requirements-pip.txt deps =
commands = commands =
{envpython} scripts/dev/misc_checks.py git {envpython} scripts/dev/misc_checks.py git
{envpython} scripts/dev/misc_checks.py vcs {envpython} scripts/dev/misc_checks.py vcs
@ -125,14 +125,18 @@ commands =
[testenv:pyroma] [testenv:pyroma]
basepython = python3 basepython = python3
passenv = passenv =
deps = -r{toxinidir}/misc/requirements/requirements-pyroma.txt deps =
-r{toxinidir}/misc/requirements/requirements-pip.txt
-r{toxinidir}/misc/requirements/requirements-pyroma.txt
commands = commands =
{envdir}/bin/pyroma . {envdir}/bin/pyroma .
[testenv:check-manifest] [testenv:check-manifest]
basepython = python3 basepython = python3
passenv = passenv =
deps = -r{toxinidir}/misc/requirements/requirements-check-manifest.txt deps =
-r{toxinidir}/misc/requirements/requirements-pip.txt
-r{toxinidir}/misc/requirements/requirements-check-manifest.txt
commands = commands =
{envdir}/bin/check-manifest --ignore 'qutebrowser/git-commit-id,qutebrowser/html/doc,qutebrowser/html/doc/*,*/__pycache__' {envdir}/bin/check-manifest --ignore 'qutebrowser/git-commit-id,qutebrowser/html/doc,qutebrowser/html/doc/*,*/__pycache__'
@ -173,5 +177,6 @@ commands =
{envbindir}/pyinstaller --noconfirm misc/qutebrowser.spec {envbindir}/pyinstaller --noconfirm misc/qutebrowser.spec
[testenv:eslint] [testenv:eslint]
deps =
whitelist_externals = eslint whitelist_externals = eslint
commands = eslint --color qutebrowser/javascript commands = eslint --color qutebrowser/javascript