[Checkins] SVN: persistent/trunk/ Add support for continuous integration using 'tox' and 'jenkins'.
Tres Seaver
cvs-admin at zope.org
Mon May 14 23:22:21 UTC 2012
Log message for revision 125875:
Add support for continuous integration using 'tox' and 'jenkins'.
Changed:
U persistent/trunk/CHANGES.txt
A persistent/trunk/tox.ini
-=-
Modified: persistent/trunk/CHANGES.txt
===================================================================
--- persistent/trunk/CHANGES.txt 2012-05-14 23:22:13 UTC (rev 125874)
+++ persistent/trunk/CHANGES.txt 2012-05-14 23:22:18 UTC (rev 125875)
@@ -4,6 +4,8 @@
4.0 (unreleased)
-----------------
+- Added support for continuous integration using ``tox`` and ``jenkins``.
+
- Added ``setup.py docs`` alias (installs ``Sphinx`` and
``repoze.sphinx.autointerface``).
Added: persistent/trunk/tox.ini
===================================================================
--- persistent/trunk/tox.ini (rev 0)
+++ persistent/trunk/tox.ini 2012-05-14 23:22:18 UTC (rev 125875)
@@ -0,0 +1,38 @@
+[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,coverage,docs
+
+[testenv]
+deps =
+ zope.interface
+commands =
+ python setup.py test -q
+
+[testenv:jython]
+commands =
+ jython setup.py test -q
+
+[testenv:coverage]
+basepython =
+ python2.6
+commands =
+ nosetests --with-xunit --with-xcoverage
+deps =
+ zope.interface
+ 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.interface
+ Sphinx
+ repoze.sphinx.autointerface
More information about the checkins
mailing list