Skip to content

Commit 84b3fbb

Browse files
committed
Set host explictly as localhost for test users
1 parent 31649fb commit 84b3fbb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ addons:
1717
postgresql: 10
1818

1919
before_script:
20-
- sudo -u postgres psql -c "CREATE USER foo WITH PASSWORD 'bar';" -p $PGPORT -U postgres
21-
- sudo -u postgres createdb -O foo -p $PGPORT foo
20+
- sudo -u postgres psql -c "CREATE USER foo WITH PASSWORD 'bar';" -h localhost -p $PGPORT -U postgres
21+
- sudo -u postgres createdb -O foo -h localhost -p $PGPORT foo
2222

2323
script:
2424
- cargo test -- --nocapture || travis_terminate 1

0 commit comments

Comments
 (0)