| tierno | c94c3df | 2018-02-09 15:38:54 +0100 | [diff] [blame] | 1 | [tox] |
| 2 | envlist = py27,py3,flake8 |
| 3 | toxworkdir={homedir}/.tox |
| 4 | |
| 5 | [testenv] |
| 6 | deps=nose |
| 7 | mock |
| 8 | commands=nosetests |
| 9 | |
| 10 | [testenv:flake8] |
| 11 | basepython = python3 |
| 12 | deps = flake8 |
| tierno | b24258a | 2018-10-04 18:39:49 +0200 | [diff] [blame] | 13 | commands = flake8 osm_nbi/ setup.py --max-line-length 120 \ |
| tierno | fc5089c | 2018-10-31 09:28:11 +0100 | [diff] [blame] | 14 | --exclude .svn,CVS,.gz,.git,__pycache__,.tox,local,temp,osm_im --ignore W291,W293,E226,E402,W504 |
| tierno | c94c3df | 2018-02-09 15:38:54 +0100 | [diff] [blame] | 15 | |
| 16 | [testenv:build] |
| 17 | basepython = python3 |
| 18 | deps = stdeb |
| 19 | setuptools-version-command |
| 20 | commands = python3 setup.py --command-packages=stdeb.command bdist_deb |