0
Ich muss PostgreSQL im Vordergrund (d. H. postgres -D path/to/db
) starten. I have tried this:Start PostgresQL im Vordergrund auf Travis CI
addons
apt:
sources:
- precise-pgdg-9.5
packages:
- postgresql-9.5
- postgresql-contrib-9.5
postgresql: '9.5'
die (initdb
und postgres
sind in $ PATH) funktioniert, aber tests fail with this:
Error: could not create lock file "/var/run/postgresql/.s.PGSQL.18174.lock": Permission denied
sogar mit sudo: required
Update:
chown -R /var/run/postgresql
will not work.