diff --git a/.gitignore b/.gitignore index 22f237f..937f9cc 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,10 @@ *.pyc *.sw? *~ .coverage .eggs/ __pycache__ dist swh.core.egg-info version.txt +.tox diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..7a3f221 --- /dev/null +++ b/tox.ini @@ -0,0 +1,23 @@ +[tox] +envlist=check-manifest,flake8,py3 + +[testenv:py3] +deps = + pifpaf + nose +commands = + pifpaf run postgresql -- nosetests + +[testenv:flake8] +skip_install = true +deps = + flake8 +commands = + {envpython} -m flake8 + +[testenv:check-manifest] +skip_install = true +deps = + check-manifest +commands = + {envpython} -m check_manifest {toxinidir}