- start using tox 1.8 so that we can easily get multiple sqla versions off the ground
This commit is contained in:
16
tox.ini
16
tox.ini
@@ -1,11 +1,12 @@
|
||||
[tox]
|
||||
envlist = full
|
||||
minversion=1.8.dev1
|
||||
envlist = py{27,33}-sqla{09,10}, coverage, pep8
|
||||
|
||||
[testenv]
|
||||
deps=pytest
|
||||
flake8
|
||||
coverage
|
||||
mock
|
||||
sqla09: git+http://git.sqlalchemy.org/sqlalchemy.git@rel_0_9
|
||||
sqla10: git+http://git.sqlalchemy.org/sqlalchemy.git@master
|
||||
|
||||
sitepackages=True
|
||||
usedevelop=True
|
||||
@@ -13,18 +14,15 @@ usedevelop=True
|
||||
commands=
|
||||
python -m pytest {posargs}
|
||||
|
||||
[testenv:full]
|
||||
|
||||
|
||||
[testenv:coverage]
|
||||
|
||||
deps=coverage
|
||||
commands=
|
||||
python -m pytest \
|
||||
--cov=alembic \
|
||||
{posargs}
|
||||
python -m pytest --cov=alembic {posargs}
|
||||
python -m coverage xml --include=alembic/*
|
||||
|
||||
[testenv:pep8]
|
||||
deps=flake8
|
||||
commands = python -m flake8 {posargs}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user