Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
wp-view
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wpdesk
wp-view
Commits
a78498d8
Commit
a78498d8
authored
6 years ago
by
Krzysztof Dyszczyk
Browse files
Options
Downloads
Patches
Plain Diff
Common project files update
parent
413e6cb6
No related branches found
No related tags found
1 merge request
!8
feat/woo template
Pipeline
#5951
failed with stages
in 4 minutes and 35 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+10
-10
10 additions, 10 deletions
.gitlab-ci.yml
with
10 additions
and
10 deletions
.gitlab-ci.yml
+
10
−
10
View file @
a78498d8
variables
:
WPDESK_CI_VERSION
:
1.10.1
8
WPDESK_CI_VERSION
:
1.10.1
9
MYSQL_ROOT_PASSWORD
:
mysql
MYSQL_DATABASE
:
wptest
MYSQL_USER
:
mysql
...
...
@@ -121,14 +121,14 @@ churn metrics:
-
composer update --no-progress
-
vendor/bin/churn run classes inc
code style test
:
stage
:
tests
image
:
wpdesknet/phpunit-woocommerce:0-0
allow_failure
:
true
script
:
-
echo ${WPDESK_CI_VERSION}
-
composer update --no-progress
-
vendor/bin/phpcs
#
code style test:
#
stage: tests
#
image: wpdesknet/phpunit-woocommerce:0-0
#
allow_failure: true
#
script:
#
- echo ${WPDESK_CI_VERSION}
#
- composer update --no-progress
#
- vendor/bin/phpcs
unit test lastest
:
<<
:
*job-test-unit-template-fast
...
...
@@ -270,7 +270,7 @@ build to deploy:
-
cp -rf /tmp/release/* ${CI_PROJECT_DIR}/release/${CI_PROJECT_NAME}
-
cd ${CI_PROJECT_DIR}/release/${CI_PROJECT_NAME}
-
composer install --no-dev --no-progress --optimize-autoloader
-
rm -rf build-coverage release tests docs .git .editorconfig .gitignore .gitlab-ci.yml apigen.neon
-
rm -rf build-coverage release tests docs .git .editorconfig .gitignore .gitlab-ci.yml apigen.neon
phpunit.xml acceptance test_soap.php .gitlab
-
rm -rf composer.json composer.lock phpcs.xml.dist phpunit-integration.xml phpunit-unit.xml composer.phar wp-cli.phar
-
cd ../
-
zip -r -q ../release.zip ./
...
...
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