X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=tox.ini;fp=tox.ini;h=ef1f5ebaa191ec4882357731a28a018110a1067f;hb=5c012612f1292b012dc12b337c611c6f3c083b18;hp=0000000000000000000000000000000000000000;hpb=1480c1e77d88024b66ce975c954ec3a749618b88;p=osm%2Fcommon.git diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..ef1f5eb --- /dev/null +++ b/tox.ini @@ -0,0 +1,20 @@ +[tox] +envlist = py27,py3,flake8 +toxworkdir={homedir}/.tox + +[testenv] +deps=nose + mock +commands=nosetests + +[testenv:flake8] +basepython = python3 +deps = flake8 +commands = + flake8 setup.py + +[testenv:build] +basepython = python3 +deps = stdeb + setuptools-version-command +commands = python3 setup.py --command-packages=stdeb.command bdist_deb