summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2017-03-21 22:07:05 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2017-03-21 22:07:05 +0100
commit62b8100cbdeafb1f654c01839d688887a87c5859 (patch)
tree42960c9eab9efdf050bdba62a64a254211e1a9b3 /.travis.yml
parentf15511582d7d8d7f961fcf0ff38f7ce9862f38a9 (diff)
update travis.yml
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml4
1 files changed, 1 insertions, 3 deletions
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