summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2016-12-08 15:53:12 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2016-12-08 15:53:12 +0100
commit9ff893cf56cd49c07d4246a98307281fad860325 (patch)
treec16384e590d4b91c7f7494245d670ee41a551767
parent1ac3085eec19173f93de55eac1c5cd4bb507ced8 (diff)
update travis file
-rw-r--r--.travis.yml8
1 files 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: