From 1ac3085eec19173f93de55eac1c5cd4bb507ced8 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Thu, 8 Dec 2016 15:48:22 +0100 Subject: debug --- .travis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3c9bc9c4f..5dc860d63 100644 --- a/.travis.yml +++ b/.travis.yml @@ -43,11 +43,11 @@ before_script: - 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 + - 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 - cd nextcloud - mkdir data - - ./occ maintenance:install --database-name oc_autotest --database-user oc_autotest --admin-user admin --admin-pass admin --database $DB --database-pass='' + - ./occ maintenance:install --database-name oc_autotest --database-user postgres --admin-user admin --admin-pass admin --database $DB --database-pass='' - ./occ app:enable news - ./occ app:check-code news - ./occ background:cron # enable default cron @@ -66,5 +66,5 @@ addons: firefox: "latest" services: - - postgresql - - mysql \ No newline at end of file + - mysql + - postgresql -- cgit v1.2.3