[Checkins] SVN: zope.annotation/trunk/ Add tox.ini.
Stephen Richter
cvs-admin at zope.org
Mon Feb 11 18:41:33 UTC 2013
Log message for revision 129294:
Add tox.ini.
Changed:
U zope.annotation/trunk/CHANGES.txt
U zope.annotation/trunk/MANIFEST.in
A zope.annotation/trunk/tox.ini
-=-
Modified: zope.annotation/trunk/CHANGES.txt
===================================================================
--- zope.annotation/trunk/CHANGES.txt 2013-02-11 18:41:17 UTC (rev 129293)
+++ zope.annotation/trunk/CHANGES.txt 2013-02-11 18:41:32 UTC (rev 129294)
@@ -5,9 +5,8 @@
4.0.1 (unreleased)
------------------
-- Nothing changed yet.
+- Added `tox.ini`.
-
4.0.0 (2013-02-11)
------------------
Modified: zope.annotation/trunk/MANIFEST.in
===================================================================
--- zope.annotation/trunk/MANIFEST.in 2013-02-11 18:41:17 UTC (rev 129293)
+++ zope.annotation/trunk/MANIFEST.in 2013-02-11 18:41:32 UTC (rev 129294)
@@ -1,5 +1,8 @@
include *.rst
include *.txt
+include tox.ini
+include bootstrap.py
+include buildout.cfg
recursive-include src *
Added: zope.annotation/trunk/tox.ini
===================================================================
--- zope.annotation/trunk/tox.ini (rev 0)
+++ zope.annotation/trunk/tox.ini 2013-02-11 18:41:32 UTC (rev 129294)
@@ -0,0 +1,33 @@
+[tox]
+envlist =
+ py26,py27,py33,pypy
+
+[testenv]
+commands =
+ python setup.py test -q
+# without explicit deps, setup.py test will download a bunch of eggs into $PWD
+deps =
+ BTrees
+ persistent
+ zope.component[zcml]
+ zope.configuration
+ zope.interface
+ zope.location
+ zope.proxy
+ zope.testrunner
+ zope.testing
+
+[testenv:coverage]
+basepython =
+ python2.7
+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.annotation
+ pip install -e .
+ nosetests --with-xunit --with-xcoverage
+deps =
+ nose
+ coverage
+ nosexcover
More information about the checkins
mailing list