Migrate to Pyone and refactor
[osm/RO.git] / tox.ini
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
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
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
23