diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2016-12-08 15:34:33 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2016-12-08 15:34:33 +0100 |
commit | da77cff06839539100f1d90abe33144deead11e7 (patch) | |
tree | caaa21768472328d2b0b014bcf234c4863fff3a7 /.travis.yml | |
parent | 35ae9b1632626c5302a6121b7c81c6c42ced6077 (diff) |
debug
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 7 |
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 |