From 4792418d13eec58eff72cb212578bd2c8606b150 Mon Sep 17 00:00:00 2001 From: Shipu Ahamed Date: Sun, 25 Jul 2021 05:14:39 +0600 Subject: [PATCH] update memory when composer install update memory when composer install --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7ddea80..3ecda7c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,7 @@ php: sudo: false install: - - travis_retry composer install --no-interaction --prefer-source + - COMPOSER_MEMORY_LIMIT=-1 travis_retry composer install --no-interaction --prefer-source script: - if [ "$TRAVIS_PHP_VERSION" != "5.5.9" ] && [ "$TRAVIS_PHP_VERSION" != "5.5" ] && [ "$TRAVIS_PHP_VERSION" != "5.6" ]; then vendor/bin/phpunit; fi @@ -15,4 +15,4 @@ script: after_script: - if [ "$TRAVIS_PHP_VERSION" == "5.5.9" ] || [ "$TRAVIS_PHP_VERSION" == "5.5" ] || [ "$TRAVIS_PHP_VERSION" == "5.6" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi - - if [ "$TRAVIS_PHP_VERSION" == "5.5.9" ] || [ "$TRAVIS_PHP_VERSION" == "5.5" ] || [ "$TRAVIS_PHP_VERSION" == "5.6" ]; then php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml; fi \ No newline at end of file + - if [ "$TRAVIS_PHP_VERSION" == "5.5.9" ] || [ "$TRAVIS_PHP_VERSION" == "5.5" ] || [ "$TRAVIS_PHP_VERSION" == "5.6" ]; then php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml; fi