|
|
@ -17,7 +17,19 @@ build: |
|
|
|
- git submodule update --init |
|
|
|
- git submodule update --init |
|
|
|
- ./occ maintenance:install --database-name oc_autotest --database-user oc_autotest --admin-user admin --admin-pass admin --database sqlite --database-pass='' |
|
|
|
- ./occ maintenance:install --database-name oc_autotest --database-user oc_autotest --admin-user admin --admin-pass admin --database sqlite --database-pass='' |
|
|
|
- ./autotest.sh sqlite |
|
|
|
- ./autotest.sh sqlite |
|
|
|
|
|
|
|
postgres: |
|
|
|
|
|
|
|
image: morrisjobke/nextcloud-ci-php7:1.0 |
|
|
|
|
|
|
|
commands: |
|
|
|
|
|
|
|
- sleep 10 # gives the database enough time to initialize |
|
|
|
|
|
|
|
- rm -rf data/* config/config.php # TODO: remove this - temporary fix for CI issues |
|
|
|
|
|
|
|
- git submodule update --init |
|
|
|
|
|
|
|
- ./autotest.sh pgsql |
|
|
|
|
|
|
|
|
|
|
|
compose: |
|
|
|
compose: |
|
|
|
cache: |
|
|
|
cache: |
|
|
|
image: redis |
|
|
|
image: redis |
|
|
|
|
|
|
|
postgres: |
|
|
|
|
|
|
|
image: postgres |
|
|
|
|
|
|
|
environment: |
|
|
|
|
|
|
|
- POSTGRES_USER=oc_autotest |
|
|
|
|
|
|
|
- POSTGRES_PASSWORD=oc_autotest |
|
|
|