]> git.ipfire.org Git - thirdparty/patchwork.git/commit
travis: Update postgreSQL 10 steps
authorStephen Finucane <stephen@that.guru>
Sun, 8 Sep 2019 15:31:08 +0000 (16:31 +0100)
committerStephen Finucane <stephen@that.guru>
Sun, 8 Sep 2019 17:27:28 +0000 (18:27 +0100)
commit13f3bdcf60c953f9caad67dcbb0473b8575b138c
treea57a1d0f5a988da357861a1694f3d0d67907b3cb
parentf4275eff1f4eb563ce6cf7c0299d4f88950c82af
travis: Update postgreSQL 10 steps

This is failing since the update to Xenial [1] with the following
warning:

  $ sudo -u postgres psql -c "grant ALL on DATABASE postgres to travis WITH GRANT OPTION;"
  could not change directory to "/home/travis/build/getpatchwork/patchwork": Permission denied
  psql: could not connect to server: No such file or directory
    Is the server running locally and accepting
    connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5433"?

Use the solution from [2] to resolve it.

[1] https://travis-ci.org/getpatchwork/patchwork/jobs/582342649
[2] https://github.com/travis-ci/travis-ci/issues/8537#issuecomment-498299645

Signed-off-by: Stephen Finucane <stephen@that.guru>
.travis.yml