Commit e2032274 authored by Tres Seaver's avatar Tres Seaver

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

parent e98d68b7
.tox
__pycache__
*.egg-info
.coverage
......@@ -4,6 +4,8 @@ Changes
1.2.1 (unreleased)
------------------
- Added support for continuous integration using ``tox`` and ``jenkins``.
- Added ``setup.py docs`` alias (installs ``Sphinx`` and dependencies).
- Added ``setup.py dev`` alias (runs ``setup.py develop`` plus installs
......
[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,pypy,jython,coverage
py26,py27,py32,pypy,coverage,docs
[testenv]
commands =
python setup.py test -q
deps = transaction
[testenv:jython]
commands =
jython setup.py test -q
[testenv:coverage]
basepython =
python2.6
commands =
nosetests --with-xunit --with-xcoverage
deps =
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 =
Sphinx
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