From 62b8100cbdeafb1f654c01839d688887a87c5859 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Tue, 21 Mar 2017 22:07:05 +0100 Subject: update travis.yml --- .travis.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 899d49781..8095d806e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 -- cgit v1.2.3