Increase CI PHP memory limit
This commit is contained in:
parent
eeea80ff0a
commit
725cbc4cf2
@ -10,7 +10,7 @@ php:
|
|||||||
|
|
||||||
script:
|
script:
|
||||||
- mkdir -p build/logs
|
- mkdir -p build/logs
|
||||||
- phpdbg -qrr -- vendor/bin/phpunit -c build
|
- phpdbg -dmemory_limit=2g -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
|
||||||
|
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -9,7 +9,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
steps {
|
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 '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'
|
||||||
@ -24,11 +24,11 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
steps {
|
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 '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 -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([
|
step([
|
||||||
$class: 'CloverPublisher',
|
$class: 'CloverPublisher',
|
||||||
cloverReportDir: '',
|
cloverReportDir: '',
|
||||||
|
Loading…
Reference in New Issue
Block a user