blob: e451bb80c9ca72496093a3e28110181321ba9075 [file] [log] [blame]
garciadeblascf920042017-09-14 16:17:39 +02001[tox]
2#envlist = py27,py3
3envlist = py27
4toxworkdir={homedir}/.tox
5
6[testenv]
7deps=nose
8 mock
9commands=nosetests
10
11[testenv:flake8]
12basepython = python
13deps = flake8
tierno433a63d2019-04-02 11:49:31 +000014# TODO for the moment few files are tested.
15commands = 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
garciadeblascf920042017-09-14 16:17:39 +020017
18[testenv:build]
19basepython = python
20deps = stdeb
21 setuptools-version-command
22commands = python setup.py --command-packages=stdeb.command bdist_deb
tierno433a63d2019-04-02 11:49:31 +000023