Another attempt for db access on travis

This commit is contained in:
Paweł Chmielowski 2018-11-19 13:53:06 +01:00
parent 0ad319e288
commit 8e3bbcac9f
1 changed files with 1 additions and 0 deletions

View File

@ -38,6 +38,7 @@ before_script:
- psql -U postgres -c "CREATE DATABASE ejabberd_test;"
- psql -U postgres ejabberd_test -f sql/pg.sql
- psql -U postgres -c "GRANT ALL PRIVILEGES ON DATABASE ejabberd_test TO ejabberd_test;"
- psql -U postgres ejabberd_test -c "GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO ejabberd_test;"
script:
- ./autogen.sh