Increase CI PHP memory limit

This commit is contained in:
Timothy Warren 2020-03-11 22:27:47 -04:00
parent b334a60486
commit d9e81a7cf1
2 changed files with 4 additions and 4 deletions

View File

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

6
Jenkinsfile vendored
View File

@ -9,7 +9,7 @@ pipeline {
}
}
steps {
sh 'apk add --no-cache git php7-phpdbg php7-xsl php7-gd php7-json php7-pdo'
sh 'apk add --no-cache git'
sh 'curl -sS https://getcomposer.org/installer | php'
sh 'rm -f composer.lock'
sh 'php composer.phar install --ignore-platform-reqs'
@ -24,11 +24,11 @@ pipeline {
}
}
steps {
sh 'apk add --no-cache git php7-phpdbg php7-xsl php7-gd php7-json php7-pdo'
sh 'apk add --no-cache git php7-phpdbg'
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=2g -qrr -- ./vendor/bin/phpunit --coverage-text --coverage-clover clover.xml --colors=never'
step([
$class: 'CloverPublisher',
cloverReportDir: '',