Olivier Massot hace 7 meses
padre
commit
5ba7e9096d
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4 1
      .gitlab-ci.yml

+ 4 - 1
.gitlab-ci.yml

@@ -28,9 +28,12 @@ unit:
   image: $CI_REGISTRY_IMAGE:latest
   stage: test
 
+  variables:
+    APP_ENV: staging
+
   before_script:
     - composer config -g cache-dir .composer-cache
-    - composer install --prefer-dist --no-progress --no-interaction
+    - HOST=ci composer install --prefer-dist --no-progress --no-interaction
 
   script:
     - php vendor/phpunit/phpunit/phpunit --configuration phpunit.xml.dist --colors=never --no-interaction --testsuite=unit