| garciadeblas | cf92004 | 2017-09-14 16:17:39 +0200 | [diff] [blame] | 1 | [tox] |
| 2 | #envlist = py27,py3 |
| 3 | envlist = py27 |
| 4 | toxworkdir={homedir}/.tox |
| 5 | |
| 6 | [testenv] |
| 7 | deps=nose |
| 8 | mock |
| 9 | commands=nosetests |
| 10 | |
| 11 | [testenv:flake8] |
| 12 | basepython = python |
| 13 | deps = flake8 |
| tierno | 433a63d | 2019-04-02 11:49:31 +0000 | [diff] [blame] | 14 | # TODO for the moment few files are tested. |
| 15 | commands = flake8 osm_ro/wim --max-line-length 120 \ |
| 16 | --exclude .svn,CVS,.gz,.git,__pycache__,.tox,local,temp,osm_im --ignore W291,W293,E226,E402,W504 |
| garciadeblas | cf92004 | 2017-09-14 16:17:39 +0200 | [diff] [blame] | 17 | |
| 18 | [testenv:build] |
| 19 | basepython = python |
| 20 | deps = stdeb |
| 21 | setuptools-version-command |
| 22 | commands = python setup.py --command-packages=stdeb.command bdist_deb |
| tierno | 433a63d | 2019-04-02 11:49:31 +0000 | [diff] [blame] | 23 | |