Split unit tests in separate pipelines

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2019-04-10 11:38:12 +02:00
parent 665886fa96
commit 2b16057006

View File

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