1[tox]
2envlist =
3    py27,py33,py34,py35,pypy,cover,docs
4
5[testenv]
6commands =
7    python setup.py test -q
8deps =
9    Babel
10
11[testenv:cover]
12basepython =
13    python2.7
14commands =
15    python setup.py nosetests --with-xunit --with-xcoverage
16deps =
17    Babel
18    nose
19    coverage==3.4
20    nosexcover
21
22[testenv:docs]
23basepython =
24    python2.7
25commands =
26    pip install translationstring[docs]
27    sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html
28
29# we separate coverage into its own testenv because a) "last run wins" wrt
30# cobertura jenkins reporting and b) pypy and jython can't handle any
31# combination of versions of coverage and nosexcover that i can find.
32# coverage==3.4 is required by nosexcover.
33