Skip to content

Commit

Permalink
Add tox.
Browse files Browse the repository at this point in the history
  • Loading branch information
tseaver committed Mar 25, 2012
1 parent 805ca64 commit 0f58275
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Next release
------------

- Added support for continuous integration using ``tox`` and ``jenkins``.

- Added support for PyPy.

- Added 'setup.py dev' alias (runs ``setup.py develop`` plus installs
Expand Down
28 changes: 28 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
[tox]
envlist =
py24,py25,py26,py27,pypy,cover

[testenv]
commands =
python setup.py test -q
deps =
Paste
virtualenv
setuptools-git

[testenv:cover]
basepython =
python2.6
commands =
nosetests --with-xunit --with-xcoverage
deps =
Paste
virtualenv
nose
coverage
nosexcover
setuptools-git

# we separate coverage into its own testenv because a) "last run wins" wrt
# cobertura jenkins reporting and b) pypy and jython can't handle any
# combination of versions of coverage and nosexcover that i can find.

0 comments on commit 0f58275

Please sign in to comment.