Olivier Massot 1 year ago
parent
commit
81682e2f03
2 changed files with 6 additions and 1 deletions
  1. 0 1
      .gitlab-ci.yml
  2. 6 0
      tests/ci_docker_install.sh

+ 0 - 1
.gitlab-ci.yml

@@ -17,7 +17,6 @@ before_script:
 static_analysis:
   script:
     - php --version
-    - php -i | grep ini
     - php -d memory_limit=-1 vendor/bin/phpstan analyse -c phpstan.neon.dist --error-format gitlab > phpstan.json  # Display code quality in MR
   artifacts:
     when: always

+ 6 - 0
tests/ci_docker_install.sh

@@ -56,5 +56,11 @@ 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
+touch /usr/local/etc/php/conf.d/additional.ini
+echo "memory_limit=2096M"
+
+php -i | grep ini
+
 # Install modules
 HOST=ci php -d memory_limit=-1 composer.phar install --no-interaction --ignore-platform-reqs