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

3
.gitignore vendored
View File

@ -59,3 +59,6 @@ src/infi/clickhouse_orm/__version__.py
bootstrap.py
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}