aboutsummaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2021-01-06 21:33:06 +0100
committerMorris Jobke <hey@morrisjobke.de>2021-01-07 09:27:10 +0100
commit734b29b2775e2caf15ccce0a48252c8065d8407f (patch)
tree941e378a939df2c22b4e92d58aea875b9fae9488 /.drone.yml
parentae2ca5b002cd90558a953fcad6ca014c37ff7b07 (diff)
downloadnextcloud-server-734b29b2775e2caf15ccce0a48252c8065d8407f.tar.gz
nextcloud-server-734b29b2775e2caf15ccce0a48252c8065d8407f.zip
Update postgres version tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml76
1 files changed, 73 insertions, 3 deletions
diff --git a/.drone.yml b/.drone.yml
index e4a439f7c8a..5f526dcd112 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -475,7 +475,7 @@ trigger:
---
kind: pipeline
-name: postgres9-php7.3
+name: postgres9.6-php7.3
steps:
- name: submodules
@@ -493,7 +493,7 @@ services:
- name: cache
image: redis
- name: postgres-9
- image: postgres:9
+ image: postgres:9.6
environment:
POSTGRES_USER: oc_autotest
POSTGRES_DB: oc_autotest_dummy
@@ -582,6 +582,77 @@ trigger:
---
kind: pipeline
+name: postgres12-php7.4
+
+steps:
+- name: submodules
+ image: docker:git
+ commands:
+ - git submodule update --init
+- name: postgres-php7.4
+ image: nextcloudci/php7.4:latest
+ commands:
+ - bash tests/drone-run-php-tests.sh || exit 0
+ - sleep 10 # gives the database enough time to initialize
+ - POSTGRES=12 NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh pgsql
+
+services:
+- name: cache
+ image: redis
+- name: postgres-12
+ image: postgres:12
+ 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: postgres13-php7.4
+
+steps:
+- name: submodules
+ image: docker:git
+ commands:
+ - git submodule update --init
+- name: postgres-php7.4
+ image: nextcloudci/php7.4:latest
+ commands:
+ - bash tests/drone-run-php-tests.sh || exit 0
+ - sleep 10 # gives the database enough time to initialize
+ - POSTGRES=13 NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh pgsql
+
+services:
+- name: cache
+ image: redis
+- name: postgres-13
+ image: postgres:13
+ 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: mysqlmb4-php7.4
#name: mysqlmb4-php8.0
@@ -2186,4 +2257,3 @@ trigger:
# event:
# - pull_request
# - push
-