@@ -12,12 +12,13 @@ cache:
before_script:
- bash tests/ci_docker_install.sh > /dev/null
+ - php -i | grep ini
+ - php -i | grep memory
- php -v
static_analysis:
script:
- - php --version
- - php -d memory_limit=-1 vendor/bin/phpstan analyse -c phpstan.neon.dist --error-format gitlab > phpstan.json # Display code quality in MR
+ - php vendor/bin/phpstan analyse -c phpstan.neon.dist --error-format gitlab > phpstan.json # Display code quality in MR
artifacts:
when: always
reports:
@@ -56,5 +56,8 @@ php -r "if (hash_file('SHA384', 'composer-setup.php') === file_get_contents('ins
php composer-setup.php
php -r "unlink('composer-setup.php'); unlink('installer.sig');"
+# Config php
+echo "memory_limit=2096M" > /usr/local/etc/php/conf.d/additional.ini
+
# Install modules
-HOST=ci php -d memory_limit=-1 composer.phar install --no-interaction --ignore-platform-reqs
+HOST=ci php composer.phar install --no-interaction --ignore-platform-reqs