summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 5ceaadd9f..eaa2d141d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -36,9 +36,9 @@ before_install:
- mv news nextcloud/apps/
before_script:
- - if [[ "$DB" == 'pgsql' ]]; then createuser -U postgres -s oc_autotest; echo 'postgres'; fi
+ - if [[ "$DB" == 'pgsql' ]]; then createuser -U postgres -s oc_autotest; fi
- if [[ "$DB" == 'pgsql' ]]; then createdb -U postgres oc_autotest; fi
- - if [[ "$DB" == 'mysql' ]]; then mysql -u root -e 'create database oc_autotest;'; echo 'mysql'; 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
# fill nextcloud with default configs and enable news
@@ -63,4 +63,5 @@ addons:
firefox: "latest"
services:
- - postgresql mysql \ No newline at end of file
+ - postgresql
+ - mysql \ No newline at end of file