diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2016-12-08 15:48:22 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2016-12-08 15:48:22 +0100 |
commit | 1ac3085eec19173f93de55eac1c5cd4bb507ced8 (patch) | |
tree | f6ec9ce3c4491280f547e6df642f3d71c54376dd /.travis.yml | |
parent | 0932ebecc8b155dcd575e293ebba99e039a8ce0b (diff) |
debug
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 8 |
1 files 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 |