diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a6c98157ac0bbdd7a3ea4197bb0fbee75aa8b983..acffa54845d8ca8a5efc848649b5d0b191f5aca0 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