Skip to content

Commit ad5f453

Browse files
committed
Explicitly sudo to postgres user to make test user
1 parent 57733c7 commit ad5f453

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ addons:
1717
postgresql: 10
1818

1919
before_script:
20-
- psql -c "CREATE USER foo WITH PASSWORD 'bar';" -U postgres
20+
- sudo -u postgres psql -c "CREATE USER foo WITH PASSWORD 'bar';" -U postgres
2121

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

0 commit comments

Comments
 (0)