aboutsummaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
authoracsfer <carlos@reendex.com>2022-02-07 17:02:27 +0100
committerGitHub <noreply@github.com>2022-02-07 17:02:27 +0100
commit60f854f48c78bdaa12ae5b99b59496a0a5346d5c (patch)
tree281bc95d0300f6ec11d0bc0e2fddccefe490b1c5 /.drone.yml
parent6563dd8656d023be8e657bee629adc88db514b43 (diff)
downloadnextcloud-server-60f854f48c78bdaa12ae5b99b59496a0a5346d5c.tar.gz
nextcloud-server-60f854f48c78bdaa12ae5b99b59496a0a5346d5c.zip
Add Postgres10
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml36
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: