Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-11-28 20:39:05 +0300
committerJulius Härtl <jus@bitgrid.net>2019-11-28 20:39:05 +0300
commit9311f1b869e56e7a555efe9bbd80933acfc746af (patch)
tree16fdc3ff9c7ee0e4c0777bddb9142c6d812efd85 /.drone.yml
parent6010bb7b57ac5ec94a41e329afad50529a3813aa (diff)
Bump test matrix to php 7.4
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml52
1 files changed, 37 insertions, 15 deletions
diff --git a/.drone.yml b/.drone.yml
index f27f807d2..6ad4b1d32 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -2,7 +2,7 @@ kind: pipeline
name: compatibility
steps:
- name: compatibility
- image: nextcloudci/php7.1:php7.1-15
+ image: nextcloudci/php7.2:php7.2-9
environment:
APP_NAME: text
CORE_BRANCH: master
@@ -24,11 +24,6 @@ trigger:
kind: pipeline
name: syntax
steps:
- - name: syntax-php7.1
- image: nextcloudci/php7.1:php7.1-15
- commands:
- - composer install
- - ./vendor/bin/parallel-lint --exclude ./vendor/ .
- name: syntax-php7.2
image: nextcloudci/php7.2:php7.2-9
commands:
@@ -39,6 +34,11 @@ steps:
commands:
- composer install
- ./vendor/bin/parallel-lint --exclude ./vendor/ .
+ - name: syntax-php7.4
+ image: nextcloudci/php7.4:2
+ commands:
+ - composer install
+ - ./vendor/bin/parallel-lint --exclude ./vendor/ .
trigger:
branch:
- master
@@ -48,10 +48,32 @@ trigger:
- push
---
kind: pipeline
-name: php7.1-sqlite
+name: php-sqlite
steps:
- - name: php7.1
- image: nextcloudci/php7.1:php7.1-16
+ - name: php7.2
+ image: nextcloudci/php7.2:php7.2-13
+ environment:
+ APP_NAME: text
+ CORE_BRANCH: master
+ DB: sqlite
+ commands:
+ - bash ./tests/drone-server-setup.sh $APP_NAME $CORE_BRANCH $DB
+ - cd ../server/apps/$APP_NAME
+ - composer install
+ - phpunit -c tests/phpunit.xml --coverage-clover build/php-unit.coverage.xml
+ - name: php7.3
+ image: nextcloudci/php7.3:php7.3-5
+ environment:
+ APP_NAME: text
+ CORE_BRANCH: master
+ DB: sqlite
+ commands:
+ - bash ./tests/drone-server-setup.sh $APP_NAME $CORE_BRANCH $DB
+ - cd ../server/apps/$APP_NAME
+ - composer install
+ - phpunit -c tests/phpunit.xml --coverage-clover build/php-unit.coverage.xml
+ - name: php7.4
+ image: nextcloudci/php7.4:2
environment:
APP_NAME: text
CORE_BRANCH: master
@@ -70,10 +92,10 @@ trigger:
- push
---
kind: pipeline
-name: php7.1-mysql
+name: php-mysql
steps:
- - name: php7.1
- image: nextcloudci/php7.1:php7.1-16
+ - name: php7.2
+ image: nextcloudci/php7.2:php7.2-13
environment:
APP_NAME: text
CORE_BRANCH: master
@@ -101,10 +123,10 @@ trigger:
- push
---
kind: pipeline
-name: php7.1-postgres
+name: php-postgres
steps:
- - name: php7.1
- image: nextcloudci/php7.1:php7.1-16
+ - name: php7.2
+ image: nextcloudci/php7.2:php7.2-13
environment:
APP_NAME: text
CORE_BRANCH: master