John Vandenberg has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/233680

Change subject: Fix tox.ini
......................................................................

Fix tox.ini

Only -mandatory should be run by default
unittest2 is needed for py26 env

Change-Id: I07694854f1f44a100e0222b464dd4a007acda01d
---
M tox.ini
1 file changed, 7 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/80/233680/1

diff --git a/tox.ini b/tox.ini
index dcac433..1e860b9 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,17 +1,22 @@
 [tox]
 minversion = 1.6
 skipsdist = True
-envlist = flake8,flake83,flake8-docstrings,py26,py27,py34
+envlist = flake8,flake8-py3,flake8-docstrings-mandatory,py26,py27,py34
 
 [params]
 nose_skip = --ignore-files=(gui\.py|botirc\.py|rcstream\.py)
 
 [testenv]
-setenv = VIRTUAL_ENV={envdir}
+setenv =
+    VIRTUAL_ENV={envdir}
+    PYWIKIBOT2_NO_USER_CONFIG=2
 usedevelop = True
 commands = python setup.py test
 install_command = pip install --process-dependency-links --pre {opts} 
{packages}
 
+[testenv:py26]
+deps = unittest2
+
 [testenv:flake8]
 commands = flake8 --ignore=D102,D103,E122,E127,E241,E402,E731 {posargs}
 basepython = python2.7

-- 
To view, visit https://gerrit.wikimedia.org/r/233680
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I07694854f1f44a100e0222b464dd4a007acda01d
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: John Vandenberg <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to