Does code coverage work with a lower explicit memory limit?

This commit is contained in:
Timothy Warren 2020-03-12 10:04:05 -04:00
parent c0fa4cfed2
commit 16ecfe3eb5
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ php:
script:
- mkdir -p build/logs
- phpdbg -dmemory_limit=2g -qrr -- vendor/bin/phpunit -c build
- phpdbg -dmemory_limit=768M -qrr -- vendor/bin/phpunit -c build
after_script:
- CODECLIMATE_REPO_TOKEN=2cbddcebcb9256b3402867282e119dbe61de0b31039325356af3c7d72ed6d058 vendor/bin/test-reporter

2
Jenkinsfile vendored
View File

@ -28,7 +28,7 @@ pipeline {
sh 'curl -sS https://getcomposer.org/installer | php'
sh 'rm -f composer.lock'
sh 'php composer.phar install --ignore-platform-reqs'
sh 'phpdbg -qrr -- ./vendor/bin/phpunit --coverage-text --coverage-clover clover.xml --colors=never'
sh 'phpdbg -dmemory_limit=768M -qrr -- ./vendor/bin/phpunit --coverage-text --coverage-clover clover.xml --colors=never'
step([
$class: 'CloverPublisher',
cloverReportDir: '',