| Mike Marchetti | eeb2c00 | 2017-05-25 11:34:25 -0400 | [diff] [blame] | 1 | [tox] |
| peusterm | be96096 | 2018-06-14 21:32:55 +0200 | [diff] [blame] | 2 | envlist = py27,py3,flake8,pyflakes |
| Mike Marchetti | 11987be | 2017-06-09 11:45:04 -0400 | [diff] [blame] | 3 | toxworkdir={homedir}/.tox |
| Mike Marchetti | eeb2c00 | 2017-05-25 11:34:25 -0400 | [diff] [blame] | 4 | |
| 5 | [testenv] |
| 6 | deps=nose |
| 7 | mock |
| 8 | commands=nosetests |
| 9 | |
| 10 | [testenv:flake8] |
| 11 | basepython = python |
| 12 | deps = flake8 |
| 13 | commands = |
| 14 | flake8 setup.py |
| 15 | |
| peusterm | be96096 | 2018-06-14 21:32:55 +0200 | [diff] [blame] | 16 | [testenv:pyflakes] |
| 17 | basepython = python3 |
| 18 | deps = pyflakes |
| 19 | commands = |
| 20 | pyflakes osmclient |
| 21 | |
| Mike Marchetti | eeb2c00 | 2017-05-25 11:34:25 -0400 | [diff] [blame] | 22 | [testenv:build] |
| 23 | basepython = python |
| 24 | deps = stdeb |
| 25 | setuptools-version-command |
| 26 | commands = python setup.py --command-packages=stdeb.command bdist_deb |