Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
plugin-template
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wpdesk
Library
plugin-template
Merge requests
!30
metrics
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
metrics
feature/metrics
into
devel
Overview
0
Commits
1
Changes
1
Merged
Krzysztof Dyszczyk
requested to merge
feature/metrics
into
devel
7 years ago
Overview
0
Commits
1
Changes
1
0
0
Merge request reports
Viewing commit
1b985c78
Show latest version
1 file
+
29
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
1b985c78
metrics
· 1b985c78
dyszczo
authored
7 years ago
.gitlab-ci.yml
+
29
−
0
View file @ 1b985c78
Edit in single-file editor
Open in Web IDE
Show full file
@@ -11,6 +11,7 @@ variables:
ACCEPTANCE_ERROR_PATH
:
${CI_PROJECT_DIR}/acceptance
stages
:
-
tools
-
tests
-
pre-deploy
-
deploy
@@ -92,6 +93,34 @@ stages:
before_script
:
-
cd ${CI_PROJECT_DIR}
phpmetric metrics
:
stage
:
tools
image
:
wpdesknet/phpunit-woocommerce:0-0
allow_failure
:
true
when
:
manual
artifacts
:
when
:
always
expire_in
:
1 month
name
:
"
metrics"
paths
:
-
${CI_PROJECT_DIR}/phpmetric
script
:
-
echo ${WPDESK_CI_VERSION}
-
composer require phpmetrics/phpmetrics
-
composer update --no-progress
-
php ./vendor/bin/phpmetrics --report-html=phpmetric .
churn metrics
:
stage
:
tools
image
:
wpdesknet/phpunit-woocommerce:0-0
allow_failure
:
true
when
:
manual
script
:
-
echo ${WPDESK_CI_VERSION}
-
composer require bmitch/churn-php
-
composer update --no-progress
-
vendor/bin/churn run classes inc
code style test
:
stage
:
tests
image
:
wpdesknet/phpunit-woocommerce:0-0
Loading