Skip to content
Snippets Groups Projects
Commit 7b8ddc74 authored by Grzegorz Rola's avatar Grzegorz Rola
Browse files

Merge branch 'devel' into 'master'

1.10.14

See merge request wpdesk/plugin-template!16
parents 6c0b287e 9fb874b2
No related branches found
No related tags found
2 merge requests!24Feature/acceptance2,!161.10.14
variables:
WPDESK_CI_VERSION: 1.10.12
WPDESK_CI_VERSION: 1.10.14
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 ../
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment