Attempt to do code coverage with less memory to begin with

This commit is contained in:
Timothy Warren 2020-03-12 10:12:28 -04:00
parent 16ecfe3eb5
commit 6acee9ca7a
3 changed files with 3 additions and 5 deletions

View File

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

4
Jenkinsfile vendored
View File

@ -28,11 +28,11 @@ pipeline {
sh 'curl -sS https://getcomposer.org/installer | php' sh 'curl -sS https://getcomposer.org/installer | php'
sh 'rm -f composer.lock' sh 'rm -f composer.lock'
sh 'php composer.phar install --ignore-platform-reqs' 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([ step([
$class: 'CloverPublisher', $class: 'CloverPublisher',
cloverReportDir: '', cloverReportDir: '',
cloverReportFileName: 'clover.xml', cloverReportFileName: 'build/logs/clover.xml',
]) ])
} }
} }

View File

@ -18,8 +18,6 @@
<logging> <logging>
<log type="coverage-html" target="../coverage"/> <log type="coverage-html" target="../coverage"/>
<log type="coverage-clover" target="logs/clover.xml"/> <log type="coverage-clover" target="logs/clover.xml"/>
<log type="coverage-crap4j" target="logs/crap4j.xml"/>
<log type="coverage-xml" target="logs/coverage" />
<log type="junit" target="logs/junit.xml" /> <log type="junit" target="logs/junit.xml" />
</logging> </logging>
<php> <php>