Skip to content

Commit 24bec7d

Browse files
committed
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 .
1 parent 7a0e001 commit 24bec7d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ before_script:
4949
- mysql -u root -e 'GRANT ALL ON rounduptest.* TO rounduptest@localhost IDENTIFIED BY "rounduptest";'
5050

5151
# set up postgresql database
52+
- sudo service postgresql restart; sleep 30
5253
- psql -c "CREATE ROLE rounduptest WITH CREATEDB LOGIN PASSWORD 'rounduptest';" -U postgres
5354

5455
# HACK: workaround mysql bug: http://bugs.mysql.com/bug.php?id=74901

0 commit comments

Comments
 (0)