Split unit tests in separate pipelines
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
36
.drone.yml
36
.drone.yml
@@ -59,10 +59,9 @@ trigger:
|
|||||||
event:
|
event:
|
||||||
- pull_request
|
- pull_request
|
||||||
- push
|
- push
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: unit
|
name: unit-php7.0
|
||||||
steps:
|
steps:
|
||||||
- name: php7.0
|
- name: php7.0
|
||||||
image: nextcloudci/php7.0:php7.0-17
|
image: nextcloudci/php7.0:php7.0-17
|
||||||
@@ -81,6 +80,17 @@ steps:
|
|||||||
- composer install
|
- composer install
|
||||||
- phpunit -c tests/phpunit.xml --coverage-clover build/php-unit.coverage.xml
|
- phpunit -c tests/phpunit.xml --coverage-clover build/php-unit.coverage.xml
|
||||||
- phpunit -c tests/phpunit.integration.xml --coverage-clover build/php-integration.coverage.xml
|
- phpunit -c tests/phpunit.integration.xml --coverage-clover build/php-integration.coverage.xml
|
||||||
|
trigger:
|
||||||
|
branch:
|
||||||
|
- master
|
||||||
|
- stable*
|
||||||
|
event:
|
||||||
|
- pull_request
|
||||||
|
- push
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
name: unit-php7.1
|
||||||
|
steps:
|
||||||
- name: php7.1
|
- name: php7.1
|
||||||
image: nextcloudci/php7.1:php7.1-15
|
image: nextcloudci/php7.1:php7.1-15
|
||||||
environment:
|
environment:
|
||||||
@@ -97,6 +107,17 @@ steps:
|
|||||||
- composer install
|
- composer install
|
||||||
- phpunit -c tests/phpunit.xml --coverage-clover build/php-unit.coverage.xml
|
- phpunit -c tests/phpunit.xml --coverage-clover build/php-unit.coverage.xml
|
||||||
- phpunit -c tests/phpunit.integration.xml --coverage-clover build/php-integration.coverage.xml
|
- phpunit -c tests/phpunit.integration.xml --coverage-clover build/php-integration.coverage.xml
|
||||||
|
trigger:
|
||||||
|
branch:
|
||||||
|
- master
|
||||||
|
- stable*
|
||||||
|
event:
|
||||||
|
- pull_request
|
||||||
|
- push
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
name: unit-php7.2
|
||||||
|
steps:
|
||||||
- name: php7.2
|
- name: php7.2
|
||||||
image: nextcloudci/php7.2:php7.2-9
|
image: nextcloudci/php7.2:php7.2-9
|
||||||
environment:
|
environment:
|
||||||
@@ -113,6 +134,17 @@ steps:
|
|||||||
- composer install
|
- composer install
|
||||||
- phpunit -c tests/phpunit.xml --coverage-clover build/php-unit.coverage.xml
|
- phpunit -c tests/phpunit.xml --coverage-clover build/php-unit.coverage.xml
|
||||||
- phpunit -c tests/phpunit.integration.xml --coverage-clover build/php-integration.coverage.xml
|
- phpunit -c tests/phpunit.integration.xml --coverage-clover build/php-integration.coverage.xml
|
||||||
|
trigger:
|
||||||
|
branch:
|
||||||
|
- master
|
||||||
|
- stable*
|
||||||
|
event:
|
||||||
|
- pull_request
|
||||||
|
- push
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
name: unit-php7.3
|
||||||
|
steps:
|
||||||
- name: php7.3
|
- name: php7.3
|
||||||
image: nextcloudci/php7.3:php7.3-2
|
image: nextcloudci/php7.3:php7.3-2
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
Reference in New Issue
Block a user