瀏覽代碼

Add Postgres10

tags/v24.0.0beta1
acsfer 2 年之前
父節點
當前提交
60f854f48c
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 36 行新增0 行删除
  1. 36
    0
      .drone.yml

+ 36
- 0
.drone.yml 查看文件

@@ -423,6 +423,42 @@ trigger:
- pull_request
- push

---
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

Loading…
取消
儲存