From 591d7bb4bcf13503ed6162d989c318733b2deaff Mon Sep 17 00:00:00 2001 From: Timothy J Warren Date: Thu, 12 Mar 2020 10:12:28 -0400 Subject: [PATCH] Attempt to do code coverage with less memory to begin with --- .travis.yml | 2 +- Jenkinsfile | 4 ++-- build/phpunit.xml | 2 -- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 59084e0c..43e51c44 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,7 @@ php: script: - mkdir -p build/logs - - phpdbg -dmemory_limit=768M -qrr -- vendor/bin/phpunit -c build + - phpdbg -qrr -- vendor/bin/phpunit -c build after_script: - CODECLIMATE_REPO_TOKEN=2cbddcebcb9256b3402867282e119dbe61de0b31039325356af3c7d72ed6d058 vendor/bin/test-reporter diff --git a/Jenkinsfile b/Jenkinsfile index cedff7a3..a93c8cdf 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -28,11 +28,11 @@ pipeline { sh 'curl -sS https://getcomposer.org/installer | php' sh 'rm -f composer.lock' sh 'php composer.phar install --ignore-platform-reqs' - sh 'phpdbg -dmemory_limit=768M -qrr -- ./vendor/bin/phpunit --coverage-text --coverage-clover clover.xml --colors=never' + sh 'phpdbg -qrr -- ./vendor/bin/phpunit --coverage-text --colors=never' step([ $class: 'CloverPublisher', cloverReportDir: '', - cloverReportFileName: 'clover.xml', + cloverReportFileName: 'build/logs/clover.xml', ]) } } diff --git a/build/phpunit.xml b/build/phpunit.xml index f5f4ce1e..dc4dcdfe 100644 --- a/build/phpunit.xml +++ b/build/phpunit.xml @@ -18,8 +18,6 @@ - -