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
4ff2a6dc
Commit
4ff2a6dc
authored
7 years ago
by
Krzysiek
Browse files
Options
Downloads
Patches
Plain Diff
1.10.14
parent
5c11e0c8
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!16
1.10.14
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+7
-7
7 additions, 7 deletions
.gitlab-ci.yml
with
7 additions
and
7 deletions
.gitlab-ci.yml
+
7
−
7
View file @
4ff2a6dc
variables
:
WPDESK_CI_VERSION
:
1.10.1
2
WPDESK_CI_VERSION
:
1.10.1
4
MYSQL_ROOT_PASSWORD
:
mysql
MYSQL_DATABASE
:
wptest
MYSQL_USER
:
mysql
...
...
@@ -30,7 +30,7 @@ stages:
-
cat /tmp/woocommerce/woocommerce.php
-
composer update --no-progress
-
if [[ -f tests/integration/prepare.sh ]]; then sh tests/integration/prepare.sh; fi
-
composer phpunit-integration
-
vendor/bin/phpunit --configuration phpunit-integration.xml --coverage-text --colors=never
only
:
-
tags
...
...
@@ -44,7 +44,7 @@ stages:
-
cat /tmp/woocommerce/woocommerce.php
-
composer update --no-progress
-
if [[ -f tests/integration/prepare.sh ]]; then sh tests/integration/prepare.sh; fi
-
composer
phpunit-integration
-fast
-
vendor/bin/phpunit --configuration
phpunit-integration
.xml --no-coverage
except
:
-
tags
only
:
...
...
@@ -58,7 +58,7 @@ stages:
-
cat /tmp/wordpress-develop/src/wp-includes/version.php
-
cat /tmp/woocommerce/woocommerce.php
-
composer update --no-progress
-
composer phpunit-unit
-
vendor/bin/phpunit --configuration phpunit-unit.xml --coverage-text --colors=never
only
:
-
tags
...
...
@@ -71,7 +71,7 @@ stages:
-
cat /tmp/wordpress-develop/src/wp-includes/version.php
-
cat /tmp/woocommerce/woocommerce.php
-
composer update --no-progress
-
composer phpunit-unit-fast
-
vendor/bin/phpunit --configuration phpunit-unit.xml --no-coverage
except
:
-
tags
only
:
...
...
@@ -98,7 +98,7 @@ code style test:
script
:
-
echo ${WPDESK_CI_VERSION}
-
composer update --no-progress
-
composer
phpcs
-
vendor/bin/
phpcs
unit test lastest
:
<<
:
*job-test-unit-template-fast
...
...
@@ -188,7 +188,7 @@ build to deploy:
-
cp -rf ${CI_PROJECT_DIR}/* /tmp/release
-
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
-
composer install --no-dev --no-progress
--optimize-autoloader
-
rm -rf build-coverage release tests docs .git .editorconfig .gitignore .gitlab-ci.yml apigen.neon \
composer.json composer.lock phpcs.xml.dist phpunit-integration.xml phpunit-unit.xml composer.phar wp-cli.phar
-
cd ../
...
...
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