From d9e81a7cf164a6566ab8bd1341475bda39b53c67 Mon Sep 17 00:00:00 2001 From: "Timothy J. Warren" Date: Wed, 11 Mar 2020 22:27:47 -0400 Subject: [PATCH] Increase CI PHP memory limit --- .travis.yml | 2 +- Jenkinsfile | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 43e51c44..df9eb65a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/Jenkinsfile b/Jenkinsfile index f0cebc50..01b7c901 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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: '',