OLD | NEW |
(Empty) | |
| 1 [tox] |
| 2 envlist = py26,py27,pypy,py33,py34,lint,cover |
| 3 |
| 4 [testenv] |
| 5 deps = nose |
| 6 commands = |
| 7 pip install google-apitools[testing] |
| 8 nosetests [] |
| 9 |
| 10 [testenv:py33] |
| 11 basepython = python3.3 |
| 12 deps = |
| 13 mock |
| 14 nose |
| 15 unittest2 |
| 16 commands = nosetests [] |
| 17 |
| 18 [testenv:py34] |
| 19 basepython = python3.4 |
| 20 deps = |
| 21 mock |
| 22 nose |
| 23 unittest2 |
| 24 commands = nosetests [] |
| 25 |
| 26 [pep8] |
| 27 exclude = samples/storage_sample/storage,samples/storage_sample/testdata,*.egg/,
.*/,ez_setup.py |
| 28 verbose = 1 |
| 29 |
| 30 [testenv:lint] |
| 31 basepython = |
| 32 python2.7 |
| 33 commands = |
| 34 pep8 |
| 35 python run_pylint.py |
| 36 deps = |
| 37 pep8 |
| 38 pylint |
| 39 unittest2 |
| 40 |
| 41 [testenv:cover] |
| 42 basepython = |
| 43 python2.7 |
| 44 commands = |
| 45 nosetests --with-xunit --with-xcoverage --cover-package=apitools --nocapture
--cover-erase --cover-tests --cover-branches [] |
| 46 deps = |
| 47 google-apputils |
| 48 python-gflags |
| 49 mock |
| 50 nose |
| 51 unittest2 |
| 52 coverage |
| 53 nosexcover |
| 54 |
| 55 [testenv:coveralls] |
| 56 basepython = {[testenv:cover]basepython} |
| 57 commands = |
| 58 {[testenv:cover]commands} |
| 59 coveralls |
| 60 deps = |
| 61 {[testenv:cover]deps} |
| 62 coveralls |
| 63 passenv = TRAVIS* |
OLD | NEW |