Does code coverage work with a lower explicit memory limit?
This commit is contained in:
parent
c0fa4cfed2
commit
16ecfe3eb5
@ -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
2
Jenkinsfile
vendored
@ -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: '',
|
||||
|
Loading…
Reference in New Issue
Block a user