From eab72cd8210721f3df4d221b5950fb03551deeb5 Mon Sep 17 00:00:00 2001 From: Timothy J Warren Date: Thu, 12 Mar 2020 10:04:05 -0400 Subject: [PATCH] Does code coverage work with a lower explicit memory limit? --- .travis.yml | 2 +- Jenkinsfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index df9eb65a..59084e0c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/Jenkinsfile b/Jenkinsfile index 388b134d..cedff7a3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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: '',