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

More cache on vendor

parent f315deca
No related branches found
No related tags found
No related merge requests found
......@@ -61,6 +61,10 @@ before_script:
- cd ${CI_PROJECT_DIR}
prepare prefixed vendor:
cache:
key: ${CI_PROJECT_NAME}-vendor
paths:
- vendor/
image: wpdesknet/phpunit-woocommerce:0-0
stage: prepare
interruptible: true
......
......@@ -23,7 +23,6 @@
- php --version
- cat /tmp/wordpress-develop/src/wp-includes/version.php
- cat /tmp/woocommerce/woocommerce.php
- COMPOSER_MEMORY_LIMIT=-1 composer install --no-progress --prefer-dist
- ln -s $CI_PROJECT_DIR /tmp/wordpress-develop/src/wp-content/plugins/$CI_PROJECT_NAME
script:
- vendor/bin/phpunit -d memory_limit=-1 --configuration phpunit-integration.xml --coverage-text --colors=never --log-junit tmp_artifacts/report.xml
......@@ -128,8 +127,6 @@ integration test lastest coverage:
only:
refs:
- master
- devel
- tags
integration test php7-1 wc-1:
<<: *integration_test_php7-1_wc-1
......
......@@ -18,7 +18,6 @@
- php --version
- cat /tmp/wordpress-develop/src/wp-includes/version.php
- cat /tmp/woocommerce/woocommerce.php
- COMPOSER_MEMORY_LIMIT=-1 composer install --no-progress --prefer-dist
- vendor/bin/phpunit -d memory_limit=-1 --configuration phpunit-unit.xml --coverage-text --colors=never --log-junit tmp_artifacts/report.xml
only:
- master
......@@ -34,7 +33,6 @@
- php --version
- cat /tmp/wordpress-develop/src/wp-includes/version.php
- cat /tmp/woocommerce/woocommerce.php
- COMPOSER_MEMORY_LIMIT=-1 composer install --no-progress --prefer-dist
- vendor/bin/phpunit -d memory_limit=-1 --configuration phpunit-unit.xml --no-coverage --log-junit tmp_artifacts/report.xml
unit test lastest:
......@@ -42,7 +40,6 @@ unit test lastest:
image: wpdesknet/phpunit-woocommerce:0-0
only:
refs:
- master
- devel
- tags
......@@ -52,8 +49,6 @@ unit test lastest coverage:
only:
refs:
- master
- devel
- tags
unit test lastest manual:
<<: *job-test-unit-template-fast
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment