Skip to content

Instantly share code, notes, and snippets.

@hpk42
Created November 25, 2015 09:59
Show Gist options
  • Save hpk42/70c2247f8dbc16006de3 to your computer and use it in GitHub Desktop.
Save hpk42/70c2247f8dbc16006de3 to your computer and use it in GitHub Desktop.
diff --git a/server/tox.ini b/server/tox.ini
--- a/server/tox.ini
+++ b/server/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist=py26,py27,py34,py35,pypy,py27-bare,flakes
+envlist={py26,py27,py34,py35,pypy}-{sqlite,postgres},py27-bare,flakes
#,gendeploy
indexserver=
pypi = https://pypi.python.org/simple
@@ -9,7 +9,10 @@ setenv =
LANG = C
changedir=test_devpi_server
-commands= py.test --slow -rfsxX {posargs}
+commands=
+ sqlite: py.test --slow -rfsxX {posargs}
+ postgres: py.test --backend=postgres --slow -rfsxX {posargs}
+
#install_command=pip install --pre {opts} {packages}
deps=
py26: ordereddict
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment