Extended default tox testing (postgres, bandit, docs)
Change-Id: Ib97d6754fafbe941639cc9792c2b7ea94b3c21fb
This commit is contained in:
parent
1d3fce4674
commit
53725d27c4
4
tox.ini
4
tox.ini
@ -1,5 +1,5 @@
|
|||||||
[tox]
|
[tox]
|
||||||
envlist = py{35,27},pep8
|
envlist = py{35,27},pep8,py{27,35}-postgresql,bandit,docs
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
usedevelop = True
|
usedevelop = True
|
||||||
@ -24,6 +24,7 @@ commands =
|
|||||||
ostestr '{posargs}'
|
ostestr '{posargs}'
|
||||||
|
|
||||||
[testenv:py27-postgresql]
|
[testenv:py27-postgresql]
|
||||||
|
#package required in ubuntu: libpq-dev
|
||||||
commands =
|
commands =
|
||||||
{[testenv]commands}
|
{[testenv]commands}
|
||||||
pifpaf run postgresql -- '{toxinidir}'/tools/pretty_tox.sh '--concurrency=1 {posargs}'
|
pifpaf run postgresql -- '{toxinidir}'/tools/pretty_tox.sh '--concurrency=1 {posargs}'
|
||||||
@ -34,6 +35,7 @@ commands =
|
|||||||
ostestr '{posargs}'
|
ostestr '{posargs}'
|
||||||
|
|
||||||
[testenv:py35-postgresql]
|
[testenv:py35-postgresql]
|
||||||
|
#package required in ubuntu: libpq-dev
|
||||||
commands =
|
commands =
|
||||||
{[testenv]commands}
|
{[testenv]commands}
|
||||||
pifpaf run postgresql -- '{toxinidir}'/tools/pretty_tox.sh '--concurrency=1 {posargs}'
|
pifpaf run postgresql -- '{toxinidir}'/tools/pretty_tox.sh '--concurrency=1 {posargs}'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user