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 eab72cd821
commit 591d7bb4bc
3 changed files with 3 additions and 5 deletions

View File

@ -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

4
Jenkinsfile vendored
View File

@ -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',
])
}
}

View File

@ -18,8 +18,6 @@
<logging>
<log type="coverage-html" target="../coverage"/>
<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" />
</logging>
<php>