summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2016-12-08 15:44:49 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2016-12-08 15:44:49 +0100
commit0932ebecc8b155dcd575e293ebba99e039a8ce0b (patch)
treebfd500bf10a4992864c78a53168a0526fe21b350
parentc069d4795986fb5ea0b6a0aa1246c873210060c1 (diff)
debug
-rw-r--r--.travis.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index de35c38e0..3c9bc9c4f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -40,6 +40,7 @@ before_install:
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" == '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