Files
deb-python-oauth2client/tox.ini
Craig Citro 4823cc900c Clean up test envs.
We have a number of extra envs due to checking two versions of pyopenssl (0.13
and 0.14); this isn't actually necessary, since 0.14 is the one we really care
about for the external repo.

This cleans up the cases and names (and drastically shortens `tox.ini`), but
keeps the old envs available for manual testing.
2014-12-17 18:27:26 -08:00

48 lines
1.0 KiB
INI

[tox]
envlist = py26,py27,py33,py34,pypy,cover
[testenv]
basedeps = keyring
mox3
pycrypto==2.6
django>=1.5,<1.6
webtest
nose
deps = {[testenv]basedeps}
pyopenssl==0.14
setenv = PYTHONPATH=../google_appengine
commands = nosetests --ignore-files=test_appengine\.py
# whitelist
branches:
only:
- master
- python3
[testenv:cover]
basepython = python2.7
commands =
nosetests --with-xunit --with-xcoverage --cover-package=oauth2client --nocapture --cover-erase --cover-tests --cover-branches --ignore-files=test_appengine\.py --cover-min-percentage=60
deps = {[testenv]deps}
coverage
nosexcover
[testenv:coveralls]
basepython = {[testenv:cover]basepython}
commands =
{[testenv:cover]commands}
coveralls
deps =
{[testenv:cover]deps}
coveralls
[testenv:py26openssl13]
basepython = python2.6
deps = {[testenv]basedeps}
pyopenssl<0.14
[testenv:py27openssl13]
basepython = python2.7
deps = {[testenv]basedeps}
pyopenssl<0.14