From 9ff893cf56cd49c07d4246a98307281fad860325 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Thu, 8 Dec 2016 15:53:12 +0100 Subject: update travis file --- .travis.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5dc860d63..899d49781 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,7 @@ php: env: global: - - CORE_BRANCH=master + - CORE_BRANCH=stable11 matrix: - DB=pgsql @@ -41,19 +41,17 @@ 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 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 - cd nextcloud - mkdir data - - ./occ maintenance:install --database-name oc_autotest --database-user postgres --admin-user admin --admin-pass admin --database $DB --database-pass='' + - ./occ maintenance:install --database-name oc_autotest --database-user oc_autotest --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 - php -S localhost:8080 & - - ls - - ls data - cd apps/news script: -- cgit v1.2.3