Skip to content

Commit 31649fb

Browse files
committed
Test user stuff needs custom postgres port
1 parent e989cd2 commit 31649fb

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';" -U postgres
21-
- sudo -u postgres createdb -O foo foo
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
2222

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

0 commit comments

Comments
 (0)