diff --git a/.gitignore b/.gitignore index ae23e11..0e9fa7b 100644 --- a/.gitignore +++ b/.gitignore @@ -58,4 +58,7 @@ buildout.in src/infi/clickhouse_orm/__version__.py bootstrap.py -htmldocs/ \ No newline at end of file +htmldocs/ + +# tox +.tox/ diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..e012173 --- /dev/null +++ b/tox.ini @@ -0,0 +1,12 @@ +[tox] +envlist = py27, py35 + +[testenv] +deps = + nose + flake8 + +commands = + {envpython} -m compileall -q src/ tests/ + # {envbindir}/flake8 src/ tests/ --max-line-length=120 + nosetests -v {posargs}