diff options
author | acsfer <carlos@reendex.com> | 2022-02-07 17:02:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-07 17:02:27 +0100 |
commit | 60f854f48c78bdaa12ae5b99b59496a0a5346d5c (patch) | |
tree | 281bc95d0300f6ec11d0bc0e2fddccefe490b1c5 /.drone.yml | |
parent | 6563dd8656d023be8e657bee629adc88db514b43 (diff) | |
download | nextcloud-server-60f854f48c78bdaa12ae5b99b59496a0a5346d5c.tar.gz nextcloud-server-60f854f48c78bdaa12ae5b99b59496a0a5346d5c.zip |
Add Postgres10
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml index 174c6d6384d..26ae0cdbfd5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -425,6 +425,42 @@ trigger: --- kind: pipeline +name: postgres10-php7.4 + +steps: +- name: submodules + image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest + commands: + - git submodule update --init +- name: postgres-php7.4 + image: ghcr.io/nextcloud/continuous-integration-php7.4:php7.4-3 + commands: + - bash tests/drone-run-php-tests.sh || exit 0 + - sleep 10 # gives the database enough time to initialize + - POSTGRES=10 NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh pgsql + +services: +- name: cache + image: ghcr.io/nextcloud/continuous-integration-redis:latest +- name: postgres-10 + image: ghcr.io/nextcloud/continuous-integration-postgres-10:postgres-10 + environment: + POSTGRES_USER: oc_autotest + POSTGRES_DB: oc_autotest_dummy + POSTGRES_PASSWORD: owncloud + tmpfs: + - /var/lib/postgresql/data + +trigger: + branch: + - master + - stable* + event: + - pull_request + - push + +--- +kind: pipeline name: postgres11-php7.4 steps: |