[Checkins] SVN: zope.schema/branches/tseaver-test_cleanup/ Added support for continuous integration using ``tox`` and ``jenkins``.

Tres Seaver cvs-admin at zope.org
Fri Apr 20 15:34:49 UTC 2012


Log message for revision 125210:
  Added support for continuous integration using ``tox`` and ``jenkins``.
  

Changed:
  U   zope.schema/branches/tseaver-test_cleanup/.bzrignore
  U   zope.schema/branches/tseaver-test_cleanup/CHANGES.txt
  U   zope.schema/branches/tseaver-test_cleanup/setup.py
  A   zope.schema/branches/tseaver-test_cleanup/tox.ini

-=-
Modified: zope.schema/branches/tseaver-test_cleanup/.bzrignore
===================================================================
--- zope.schema/branches/tseaver-test_cleanup/.bzrignore	2012-04-20 15:12:16 UTC (rev 125209)
+++ zope.schema/branches/tseaver-test_cleanup/.bzrignore	2012-04-20 15:34:45 UTC (rev 125210)
@@ -7,3 +7,6 @@
 *.egg-info
 .coverage
 __pycache__
+nosetests.xml
+coverage.xml
+.tox

Modified: zope.schema/branches/tseaver-test_cleanup/CHANGES.txt
===================================================================
--- zope.schema/branches/tseaver-test_cleanup/CHANGES.txt	2012-04-20 15:12:16 UTC (rev 125209)
+++ zope.schema/branches/tseaver-test_cleanup/CHANGES.txt	2012-04-20 15:34:45 UTC (rev 125210)
@@ -2,9 +2,11 @@
 CHANGES
 =======
 
-4.1.2 (unreleased)
+4.2.0 (unreleased)
 ------------------
 
+- Added support for continuous integration using ``tox`` and ``jenkins``.
+
 - Dropped the external ``six`` dependency in favor of a much-trimmed
   ``zope.schema._compat`` module.
 

Modified: zope.schema/branches/tseaver-test_cleanup/setup.py
===================================================================
--- zope.schema/branches/tseaver-test_cleanup/setup.py	2012-04-20 15:12:16 UTC (rev 125209)
+++ zope.schema/branches/tseaver-test_cleanup/setup.py	2012-04-20 15:34:45 UTC (rev 125210)
@@ -73,7 +73,7 @@
 TESTS_REQUIRE = ['zope.testing']
 
 setup(name='zope.schema',
-      version='4.1.2.dev0',
+      version='4.2.0.dev',
       url='http://pypi.python.org/pypi/zope.schema',
       license='ZPL 2.1',
       description='zope.interface extension for defining data schemas',

Added: zope.schema/branches/tseaver-test_cleanup/tox.ini
===================================================================
--- zope.schema/branches/tseaver-test_cleanup/tox.ini	                        (rev 0)
+++ zope.schema/branches/tseaver-test_cleanup/tox.ini	2012-04-20 15:34:45 UTC (rev 125210)
@@ -0,0 +1,35 @@
+[tox]
+envlist = 
+# 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
+    py26,py27,py32,pypy,coverage
+
+[testenv]
+deps =
+    zope.schema[test]
+commands = 
+    python setup.py test -q
+
+[testenv:jython]
+commands = 
+   jython setup.py test -q
+
+[testenv:coverage]
+basepython =
+    python2.6
+commands = 
+#   The installed version messes up nose's test discovery / coverage reporting
+#   So, we uninstall that from the environment, and then install the editable
+#   version, before running nosetests.
+    pip uninstall -y zope.schema
+    pip install -e .
+    nosetests --with-xunit --with-xcoverage
+deps =
+    zope.schema[test]
+    zope.interface>=3.6.0
+    zope.event
+    zope.testing
+    nose
+    coverage
+    nosexcover



More information about the checkins mailing list