Mercurial > p > roundup > code
changeset 5860:34c38cf2d97f maint-1.6
Apparently I need to (re)start postgresql as well. Got:
$ psql -c "CREATE ROLE rounduptest WITH CREATEDB LOGIN PASSWORD
'rounduptest';" -U postgres
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.5432"?
The command "psql -c "CREATE ROLE rounduptest WITH CREATEDB LOGIN PASSWORD 'rounduptest';" -U postgres" failed and exited with 2 during .
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 25 Aug 2019 11:01:55 -0400 |
| parents | f052a063c612 |
| children | 69ea79e4eb27 |
| files | .travis.yml |
| diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/.travis.yml Sat Aug 24 21:59:18 2019 -0400 +++ b/.travis.yml Sun Aug 25 11:01:55 2019 -0400 @@ -49,6 +49,7 @@ - mysql -u root -e 'GRANT ALL ON rounduptest.* TO rounduptest@localhost IDENTIFIED BY "rounduptest";' # set up postgresql database + - sudo service postgresql restart; sleep 30 - psql -c "CREATE ROLE rounduptest WITH CREATEDB LOGIN PASSWORD 'rounduptest';" -U postgres # HACK: workaround mysql bug: http://bugs.mysql.com/bug.php?id=74901
