Commit e372b094 authored by Tres Seaver's avatar Tres Seaver

Add support for continuous integration using 'tox' and 'jenkins'.

parent fd2ded42
......@@ -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``).
......
[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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment