Attempt to do code coverage with less memory to begin with
Some checks failed
timw4mail/HummingBirdAnimeClient/pipeline/head There was a failure building this commit
Some checks failed
timw4mail/HummingBirdAnimeClient/pipeline/head There was a failure building this commit
This commit is contained in:
parent
eab72cd821
commit
591d7bb4bc
@ -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
4
Jenkinsfile
vendored
@ -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',
|
||||
])
|
||||
}
|
||||
}
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user