[Checkins] SVN: appendonly/trunk/ Automate tests for supported Python versions via 'tox'.

Tres Seaver cvs-admin at zope.org
Mon Feb 25 21:52:33 UTC 2013


Log message for revision 129807:
  Automate tests for supported Python versions via 'tox'.
  
  Note dropped support for Python 2.4 / 2.5.
  

Changed:
  _U  appendonly/trunk/
  U   appendonly/trunk/CHANGES.txt
  U   appendonly/trunk/setup.py
  A   appendonly/trunk/tox.ini

-=-
Modified: appendonly/trunk/CHANGES.txt
===================================================================
--- appendonly/trunk/CHANGES.txt	2013-02-25 21:52:32 UTC (rev 129806)
+++ appendonly/trunk/CHANGES.txt	2013-02-25 21:52:33 UTC (rev 129807)
@@ -4,9 +4,11 @@
 0.11 (unreleased)
 -----------------
 
-- TBD
+- Automated tests for supported Python versions via 'tox'.
 
+- Dropped support for Python 2.4 / 2.5.
 
+
 0.10 (2012-02-21)
 ------------------
 

Modified: appendonly/trunk/setup.py
===================================================================
--- appendonly/trunk/setup.py	2013-02-25 21:52:32 UTC (rev 129806)
+++ appendonly/trunk/setup.py	2013-02-25 21:52:33 UTC (rev 129807)
@@ -28,10 +28,10 @@
         "Intended Audience :: Developers",
         "License :: OSI Approved :: Zope Public License",
         "Operating System :: OS Independent",
-        "Programming Language :: Python :: 2.4",
-        "Programming Language :: Python :: 2.5",
+        "Programming Language :: Python :: 2",
         "Programming Language :: Python :: 2.6",
         "Programming Language :: Python :: 2.7",
+        "Programming Language :: Python :: Implementation :: CPython",
       ],
       author='Tres Seaver, Agendaless Consulting, Inc.',
       author_email='tseaver at agendaless.com',

Added: appendonly/trunk/tox.ini
===================================================================
--- appendonly/trunk/tox.ini	                        (rev 0)
+++ appendonly/trunk/tox.ini	2013-02-25 21:52:33 UTC (rev 129807)
@@ -0,0 +1,36 @@
+[tox]
+envlist = 
+#   py26,py27,pypy,py32,py33,coverage,docs
+    py26,py27,coverage
+
+[testenv]
+deps =
+    persistent
+    ZODB
+    zope.interface
+commands = 
+    python setup.py test -q
+
+[testenv:coverage]
+basepython =
+    python2.6
+commands = 
+    nosetests --with-xunit --with-xcoverage
+deps =
+    persistent
+    ZODB
+    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