diff --git a/.drone.yml b/.drone.yml index bce197f52f..2e8d84a49c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -313,7 +313,7 @@ pipeline: image: nextcloudci/php7.1:php7.1-15 commands: - sleep 10 # gives the database enough time to initialize - - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh pgsql + - POSTGRES=${POSTGRES} NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh pgsql when: matrix: DB: postgres @@ -864,6 +864,7 @@ services: image: postgres:9 environment: - POSTGRES_USER=oc_autotest + - POSTGRES_DB=oc_autotest_dummy - POSTGRES_PASSWORD=owncloud tmpfs: - /var/lib/postgresql/data @@ -875,6 +876,7 @@ services: image: postgres:10 environment: - POSTGRES_USER=oc_autotest + - POSTGRES_DB=oc_autotest_dummy - POSTGRES_PASSWORD=owncloud tmpfs: - /var/lib/postgresql/data