Skip to content

Commit

Permalink
add tox.ini for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
mcdonc committed Jul 22, 2011
1 parent ee0c396 commit 649941c
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Expand Up @@ -2,6 +2,11 @@
*.egg-info
*.egg
*.pyc
*$py.class
*.swp
dist/
env26/
.tox/
coverage.xml
nosetests.xml

5 changes: 5 additions & 0 deletions CHANGES.txt
@@ -1,3 +1,8 @@
Next release
------------

- Add a tox.ini for Jenkins testing.

0.5 (2011-03-30)
----------------

Expand Down
28 changes: 28 additions & 0 deletions tox.ini
@@ -0,0 +1,28 @@
[tox]
envlist =
py25,py26,py27,pypy,jython,cover

[testenv]
commands =
python setup.py test -q
deps =
pyramid
beaker

[testenv:cover]
basepython =
python2.6
commands =
python setup.py nosetests --with-xunit --with-xcoverage
deps =
pyramid
beaker
nose
coverage==3.4
nosexcover

# 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.
# coverage==3.4 is required by nosexcover.

0 comments on commit 649941c

Please sign in to comment.