25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

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

View File

@ -38,6 +38,7 @@ before_script:
- psql -U postgres -c "CREATE DATABASE ejabberd_test;" - psql -U postgres -c "CREATE DATABASE ejabberd_test;"
- psql -U postgres ejabberd_test -f sql/pg.sql - 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 -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: script:
- ./autogen.sh - ./autogen.sh