cross-version testing with tox

This commit is contained in:
Ivan Ladelshchikov 2017-11-02 13:14:21 +05:00 committed by Itai Shirav
parent c023ad407d
commit 92ab21c99a
2 changed files with 16 additions and 1 deletions

5
.gitignore vendored
View File

@ -58,4 +58,7 @@ buildout.in
src/infi/clickhouse_orm/__version__.py
bootstrap.py
htmldocs/
htmldocs/
# tox
.tox/

12
tox.ini Normal file
View File

@ -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}