-[testenv:py34-sqlite]
-commands = {[sqlite]commands}
-
-[testenv:py35-sqlite]
-commands = {[sqlite]commands}
-
-[testenv:py36-sqlite]
-commands = {[sqlite]commands}
+[testenv:{py27,py34,py35,py36,py37,py38,py39}-postgres]
+commands =
+ {[testenv]commands}
+ -dropdb --username=runner test
+ createdb --username=runner test
+ {envpython} -m pytest -D postgres://runner@localhost/test
+ dropdb --username=runner test