jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/495709 )
Change subject: tox: stop setting a default command
......................................................................
tox: stop setting a default command
The default testenv defines a default command which might have
unattended effect. A current example is the envlist defining
'doctest-py27' and 'doctest-py34', they are not matched by the section
[testenv:doctest] and end runnining the default command.
Prefix py27 and py34 with 'test-', tox will thus generate a factor named
'test' which we can use to define a command for.
Change-Id: Ic907ea89d8b6d96efe1bf3149cc637c9d33cc627
---
M tox.ini
1 file changed, 3 insertions(+), 2 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/tox.ini b/tox.ini
index 02f2d86..0aeba1e 100644
--- a/tox.ini
+++ b/tox.ini
@@ -9,7 +9,7 @@
flake8
pyflakes-{py27,py3,pypy}
doctest-{py27,py34}
- py27,py34
+ test-{py27,py34}
[tox:jenkins]
# Override default for WM Jenkins
@@ -28,7 +28,8 @@
VIRTUAL_ENV={envdir}
PYWIKIBOT_NO_USER_CONFIG=2
usedevelop = True
-commands = python setup.py test
+commands =
+ test: python setup.py test
[testenv:diff-checker]
deps = unidiff
--
To view, visit
https://gerrit.wikimedia.org/r/495709
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ic907ea89d8b6d96efe1bf3149cc637c9d33cc627
Gerrit-Change-Number: 495709
Gerrit-PatchSet: 1
Gerrit-Owner: Hashar <hashar(a)free.fr>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot (75)