Third time's the charm? Let load scheme before changing permissions

This commit is contained in:
Paweł Chmielowski 2018-11-19 13:16:51 +01:00
parent 9a351c0aff
commit 0ad319e288
1 changed files with 1 additions and 1 deletions

View File

@ -36,8 +36,8 @@ before_script:
- mysql -u root ejabberd_test < sql/mysql.sql
- psql -U postgres -c "CREATE USER ejabberd_test WITH PASSWORD 'ejabberd_test';"
- psql -U postgres -c "CREATE DATABASE ejabberd_test;"
- psql -U postgres -c "GRANT ALL PRIVILEGES ON DATABASE ejabberd_test TO 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;"
script:
- ./autogen.sh