Skip to content

Commit

Permalink
Test supported platforms under tox.
Browse files Browse the repository at this point in the history
  • Loading branch information
tseaver committed Feb 28, 2013
1 parent b20c0c8 commit 0d0e6f9
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[tox]
envlist =
# py26,py27,py32,py33,pypy,coverage,docs
py26,py27,pypy,coverage

[testenv]
commands =
python 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

0 comments on commit 0d0e6f9

Please sign in to comment.