[Checkins] SVN: zope.component/tseaver-test_cleanup/ Added support for continuous integration using 'tox' and 'jenkins'.
Tres Seaver
cvs-admin at zope.org
Fri May 11 01:59:09 UTC 2012
Log message for revision 125844:
Added support for continuous integration using 'tox' and 'jenkins'.
Changed:
U zope.component/tseaver-test_cleanup/.bzrignore
U zope.component/tseaver-test_cleanup/CHANGES.txt
A zope.component/tseaver-test_cleanup/tox.ini
-=-
Modified: zope.component/tseaver-test_cleanup/.bzrignore
===================================================================
--- zope.component/tseaver-test_cleanup/.bzrignore 2012-05-11 01:59:01 UTC (rev 125843)
+++ zope.component/tseaver-test_cleanup/.bzrignore 2012-05-11 01:59:05 UTC (rev 125844)
@@ -7,3 +7,6 @@
*.egg-info
.coverage
docs/_build
+.tox
+nosetests.xml
+coverage.xml
Modified: zope.component/tseaver-test_cleanup/CHANGES.txt
===================================================================
--- zope.component/tseaver-test_cleanup/CHANGES.txt 2012-05-11 01:59:01 UTC (rev 125843)
+++ zope.component/tseaver-test_cleanup/CHANGES.txt 2012-05-11 01:59:05 UTC (rev 125844)
@@ -4,6 +4,8 @@
4.0.0 (unreleased)
==================
+- Added support for continuous integration using ``tox`` and ``jenkins``.
+
- Got tests to run using ``setup.py test``.
- Added ``Sphinx`` documentation.
Added: zope.component/tseaver-test_cleanup/tox.ini
===================================================================
--- zope.component/tseaver-test_cleanup/tox.ini (rev 0)
+++ zope.component/tseaver-test_cleanup/tox.ini 2012-05-11 01:59:05 UTC (rev 125844)
@@ -0,0 +1,70 @@
+[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,docs
+ py26,py27,pypy,coverage,docs
+
+[testenv]
+deps =
+ zope.component
+ zope.testing
+ zope.testrunner
+ zope.hookable
+ ZODB3
+ zope.location
+ zope.proxy
+ zope.security
+ zope.configuration
+ zope.i18nmessageid
+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.component
+ pip install -e .
+ nosetests --with-xunit --with-xcoverage
+deps =
+ zope.component
+ zope.testing
+ zope.testrunner
+ zope.hookable
+ ZODB3
+ zope.location
+ zope.proxy
+ zope.security
+ zope.configuration
+ zope.i18nmessageid
+ nose
+ coverage
+ nosexcover
+
+[testenv:docs]
+basepython =
+ python2.6
+commands =
+ sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html
+ sphinx-build -b doctest -d docs/_build/doctrees docs docs/_build/doctest
+deps =
+ zope.component
+ zope.testing
+ zope.testrunner
+ zope.hookable
+ ZODB3
+ zope.location
+ zope.proxy
+ zope.security
+ zope.configuration
+ zope.i18nmessageid
+ Sphinx
+ repoze.sphinx.autointerface
More information about the checkins
mailing list