[Checkins] SVN: zope.component/tseaver-test_cleanup/ Add a py26min environment:

Tres Seaver cvs-admin at zope.org
Wed Jun 27 16:08:46 UTC 2012


Log message for revision 127138:
  Add a py26min environment:
  
  Skips installation of security- and persistence-related dependencies.

Changed:
  _U  zope.component/tseaver-test_cleanup/
  U   zope.component/tseaver-test_cleanup/tox.ini

-=-
Modified: zope.component/tseaver-test_cleanup/tox.ini
===================================================================
--- zope.component/tseaver-test_cleanup/tox.ini	2012-06-27 16:08:38 UTC (rev 127137)
+++ zope.component/tseaver-test_cleanup/tox.ini	2012-06-27 16:08:43 UTC (rev 127138)
@@ -3,7 +3,7 @@
 # Jython support pending 2.7 support, due 2012-07-15 or so.  See:
 # http://fwierzbicki.blogspot.com/2012/03/adconion-to-fund-jython-27.html
 #   py26,py27,py32,jython,pypy,coverage,docs
-    py26,py27,coverage,docs
+    py26,py26min,py27,coverage,docs
 
 [testenv]
 deps =
@@ -23,6 +23,24 @@
 commands = 
    jython setup.py test -q
 
+[testenv:py26min]
+basepython =
+    python2.6
+deps =
+    zope.component
+    zope.interface
+    zope.event
+    zope.hookable
+    zope.configuration
+    zope.schema
+    zope.i18nmessageid
+    nose
+commands = 
+    pip uninstall -y zope.component
+    python -c "import shutil; shutil.copyfile('src/zope/__init__.py', '{envdir}/lib/python2.6/site-packages/zope/__init__.py')"
+    pip install -e .
+    nosetests -I persistentregistry -I security
+
 [testenv:coverage]
 basepython =
     python2.6



More information about the checkins mailing list