diff --git a/.gitignore b/.gitignore --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ dist swh.core.egg-info version.txt +.tox diff --git a/tox.ini b/tox.ini new file mode 100644 --- /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}