]> git.ipfire.org Git - thirdparty/patchwork.git/commit
travis: test against postgresql 10 and 11
authorDaniel Black <daniel@linux.ibm.com>
Mon, 6 Aug 2018 06:56:37 +0000 (16:56 +1000)
committerDaniel Axtens <dja@axtens.net>
Tue, 21 Aug 2018 15:32:59 +0000 (01:32 +1000)
commit02aec7135c499d453043c918feeef3c635ed006a
tree8ee255e990e55215992bc6acf47cc0425bc0fafd
parent67faf96ab96d93252c89967ef766bcbe8214c0fc
travis: test against postgresql 10 and 11

postgresql 10 is the most recent major version, and it would be
good to keep an eye on postgres 11 compatibility also, so test
against both of those.

Specify PGPORT as a way to differentiate the new installations
from the postgres 9.6 server running on the default port (5432).
Use a local unix socket to work around the fact that by default
postgres only allows passwordless auth on local sockets - which
is tweaked for postgres 9.6 but not for later versions that aren't
in the usual Travis image.

Also print the current db version and user for validation.

Signed-off-by: Daniel Black <daniel@linux.ibm.com>
[cleanup, squash, commit message]
Signed-off-by: Daniel Axtens <dja@axtens.net>
.travis.yml
patchwork/settings/dev.py