Olivier Massot hai 1 ano
pai
achega
e08cde394c
Modificáronse 2 ficheiros con 2 adicións e 4 borrados
  1. 2 2
      .gitlab-ci.yml
  2. 0 2
      tests/ci_docker_install.sh

+ 2 - 2
.gitlab-ci.yml

@@ -12,12 +12,12 @@ cache:
 
 before_script:
   - bash tests/ci_docker_install.sh > /dev/null
+  - 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:

+ 0 - 2
tests/ci_docker_install.sh

@@ -60,7 +60,5 @@ php -r "unlink('composer-setup.php'); unlink('installer.sig');"
 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