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
!32
CI 1.19
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
CI 1.19
feature/ci
into
devel
Overview
0
Commits
1
Changes
1
Merged
Krzysztof Dyszczyk
requested to merge
feature/ci
into
devel
7 years ago
Overview
0
Commits
1
Changes
1
0
0
Merge request reports
Compare
devel
devel (base)
and
latest version
latest version
9ebbae61
1 commit,
7 years ago
1 file
+
10
−
10
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
.gitlab-ci.yml
+
10
−
10
View file @ 9ebbae61
Edit in single-file editor
Open in Web IDE
Show full file
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 ./
Loading