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

Composer memory limit

parent bb0150ac
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@ stages:
- php --version
- cat /tmp/wordpress-develop/src/wp-includes/version.php
- cat /tmp/woocommerce/woocommerce.php
- composer update --no-progress --prefer-dist
- COMPOSER_MEMORY_LIMIT=-1 composer update --no-progress --prefer-dist
- if [[ -f tests/integration/prepare.sh ]]; then sh tests/integration/prepare.sh; fi
- vendor/bin/phpunit --configuration phpunit-integration.xml --coverage-text --colors=never --log-junit tmp_artifacts/report.xml
only:
......@@ -49,7 +49,7 @@ stages:
- php --version
- cat /tmp/wordpress-develop/src/wp-includes/version.php
- cat /tmp/woocommerce/woocommerce.php
- composer update --no-progress --prefer-dist
- COMPOSER_MEMORY_LIMIT=-1 composer update --no-progress --prefer-dist
- if [[ -f tests/integration/prepare.sh ]]; then sh tests/integration/prepare.sh; fi
- vendor/bin/phpunit --configuration phpunit-integration.xml --no-coverage --log-junit tmp_artifacts/report.xml
except:
......@@ -64,7 +64,7 @@ stages:
- php --version
- cat /tmp/wordpress-develop/src/wp-includes/version.php
- cat /tmp/woocommerce/woocommerce.php
- composer update --no-progress --prefer-dist
- COMPOSER_MEMORY_LIMIT=-1 composer update --no-progress --prefer-dist
- vendor/bin/phpunit --configuration phpunit-unit.xml --coverage-text --colors=never --log-junit tmp_artifacts/report.xml
only:
- master
......@@ -77,7 +77,7 @@ stages:
- php --version
- cat /tmp/wordpress-develop/src/wp-includes/version.php
- cat /tmp/woocommerce/woocommerce.php
- composer update --no-progress --prefer-dist
- COMPOSER_MEMORY_LIMIT=-1 composer update --no-progress --prefer-dist
- vendor/bin/phpunit --configuration phpunit-unit.xml --no-coverage --log-junit tmp_artifacts/report.xml
.template: &job-deploy-template
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment