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
Commits
1867e372
Commit
1867e372
authored
7 years ago
by
Grzegorz Rola
Browse files
Options
Downloads
Plain Diff
Merge branch 'feature/metrics' into 'devel'
metrics See merge request wpdesk/plugin-template!30
parents
e7e3e74a
1b985c78
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!36
Devel
,
!30
metrics
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+29
-0
29 additions, 0 deletions
.gitlab-ci.yml
with
29 additions
and
0 deletions
.gitlab-ci.yml
+
29
−
0
View file @
1867e372
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment