зеркало из https://github.com/nextcloud/news.git
update travis.yml
This commit is contained in:
Родитель
f15511582d
Коммит
62b8100cbd
|
@ -38,9 +38,7 @@ before_install:
|
|||
- mv news nextcloud/apps/
|
||||
|
||||
before_script:
|
||||
- if [[ "$DB" == 'pgsql' ]]; then createuser -U postgres -s "oc_autotest"; fi
|
||||
- if [[ "$DB" == 'pgsql' ]]; then createdb -U postgres "oc_autotest"; fi
|
||||
- if [[ "$DB" == 'pgsql' ]]; then psql -U postgres -c "GRANT ALL ON DATABASE oc_autotest TO oc_autotest;"; fi
|
||||
- if [[ "$DB" == 'pgsql' ]]; then psql -c 'create database oc_autotest;' -U postgres; fi
|
||||
- if [[ "$DB" == 'mysql' ]]; then mysql -u root -e 'CREATE DATABASE oc_autotest;'; fi
|
||||
- if [[ "$DB" == 'mysql' ]]; then mysql -u root -e "CREATE USER 'oc_autotest'@'localhost' IDENTIFIED BY '';"; fi
|
||||
- if [[ "$DB" == 'mysql' ]]; then mysql -u root -e "GRANT ALL ON oc_autotest.* TO 'oc_autotest'@'localhost';"; fi
|
||||
|
|
Загрузка…
Ссылка в новой задаче