[PATCH v2 2/3] Default dev settings, set host to empty (unix socket) on postgresql
daniel at linux.ibm.com
Sun Aug 12 15:19:34 AEST 2018
> >> > diff --git a/.travis.yml b/.travis.yml
> >> > index 58e0b08..0c6e79d 100644
> >> > --- a/.travis.yml
> >> > +++ b/.travis.yml
> >> > @@ -22,6 +22,7 @@ env:
> >> > - PW_TEST_DB_TYPE=mysql PW_TEST_DB_USER=root
> >> > global:
> >> > - PW_TEST_DB_PASS=""
> >> > + - PW_TEST_DB_HOST="localhost"
> >> I tried setting this
> >> to "" globally and it seemed to work; is there
> >> any reason to treat postgres 10 and 11 specially?
> > I was preserving PW_TEST_DB_HOST=localhost so the previous 9.6 test
> > was run the same way as it did previously.
> >> More fundamentally, is there any reason we particuarly want to do
> >> things this way on Travis?
> > No idea which "things" you're exactly referring to.
> Sorry, I wasn't clear.
> Why should we test with local domain sockets rather than with
You should test both connection types are possible in patchwork.
Obviously the end result is the same however.
More information about the Patchwork