| [tox] |
| envlist = py26,py27,pypy,py33,py34,lint,cover |
| |
| [testenv] |
| deps = nose |
| commands = |
| pip install google-apitools[testing] |
| nosetests [] |
| |
| [testenv:py33] |
| basepython = python3.3 |
| deps = |
| mock |
| nose |
| unittest2 |
| commands = nosetests [] |
| |
| [testenv:py34] |
| basepython = python3.4 |
| deps = |
| mock |
| nose |
| unittest2 |
| commands = nosetests [] |
| |
| [pep8] |
| exclude = samples/storage_sample/storage,samples/storage_sample/testdata,*.egg/,.*/,ez_setup.py |
| verbose = 1 |
| |
| [testenv:lint] |
| basepython = |
| python2.7 |
| commands = |
| pep8 |
| python run_pylint.py |
| deps = |
| pep8 |
| pylint |
| unittest2 |
| |
| [testenv:cover] |
| basepython = |
| python2.7 |
| commands = |
| nosetests --with-xunit --with-xcoverage --cover-package=apitools --nocapture --cover-erase --cover-tests --cover-branches [] |
| deps = |
| google-apputils |
| python-gflags |
| mock |
| nose |
| unittest2 |
| coverage |
| nosexcover |
| |
| [testenv:coveralls] |
| basepython = {[testenv:cover]basepython} |
| commands = |
| {[testenv:cover]commands} |
| coveralls |
| deps = |
| {[testenv:cover]deps} |
| coveralls |
| passenv = TRAVIS* |