From 2b16057006a1929a8c2b4f29559f005bc50ad040 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Wed, 10 Apr 2019 11:38:12 +0200 Subject: [PATCH] Split unit tests in separate pipelines MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- .drone.yml | 36 ++++++++++++++++++++++++++++++++++-- 1 file changed, 34 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index b556f34f0..cd9fc38cb 100644 --- a/.drone.yml +++ b/.drone.yml @@ -59,10 +59,9 @@ trigger: event: - pull_request - push - --- kind: pipeline -name: unit +name: unit-php7.0 steps: - name: php7.0 image: nextcloudci/php7.0:php7.0-17 @@ -81,6 +80,17 @@ steps: - composer install - 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 +trigger: + branch: + - master + - stable* + event: + - pull_request + - push +--- +kind: pipeline +name: unit-php7.1 +steps: - name: php7.1 image: nextcloudci/php7.1:php7.1-15 environment: @@ -97,6 +107,17 @@ steps: - composer install - 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 +trigger: + branch: + - master + - stable* + event: + - pull_request + - push +--- +kind: pipeline +name: unit-php7.2 +steps: - name: php7.2 image: nextcloudci/php7.2:php7.2-9 environment: @@ -113,6 +134,17 @@ steps: - composer install - 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 +trigger: + branch: + - master + - stable* + event: + - pull_request + - push +--- +kind: pipeline +name: unit-php7.3 +steps: - name: php7.3 image: nextcloudci/php7.3:php7.3-2 environment: