From ebd067565d589ada123c3e9383db75bf3ee7634e Mon Sep 17 00:00:00 2001 From: Krzysztof Dyszczyk <krzysiek@inspirelabs.pl> Date: Sat, 17 Mar 2018 17:31:22 +0100 Subject: [PATCH] Coverage regex --- .gitlab-ci.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a6c9815..acffa54 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -70,6 +70,7 @@ integration test 0-0: services: - mysql stage: tests + coverage: '/^\s*Lines:\s*\d+.\d+\%/' dependencies: - build php script: @@ -81,6 +82,7 @@ integration test 1-1: services: - mysql stage: tests + coverage: '/^\s*Lines:\s*\d+.\d+\%/' dependencies: - build php script: @@ -92,6 +94,7 @@ integration test 2-2: services: - mysql stage: tests + coverage: '/^\s*Lines:\s*\d+.\d+\%/' dependencies: - build php script: @@ -103,6 +106,7 @@ integration test 3-3: services: - mysql stage: tests + coverage: '/^\s*Lines:\s*\d+.\d+\%/' dependencies: - build php script: @@ -114,13 +118,13 @@ integration test 4-3: services: - mysql stage: tests + coverage: '/^\s*Lines:\s*\d+.\d+\%/' dependencies: - build php script: - php --version - phpunit --configuration phpunit-integration.xml -# apigen requires PHP 7.1 apigen docs: image: wpdesknet/phpunit-woocommerce:1-0 stage: pre-deploy @@ -136,7 +140,8 @@ apigen docs: - php --version - php composer.phar docs only: - - tags + manual + build to deploy: image: wpdesknet/phpunit-woocommerce:0-0 -- GitLab