Skip to content
Snippets Groups Projects
Commit ebd06756 authored by Krzysztof Dyszczyk's avatar Krzysztof Dyszczyk
Browse files

Coverage regex

parent 85927e25
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment