From ae116d6c77fa48524ac49658516dc43d22d07ea9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20B?= <stephane.bouvry@unicaen.fr> Date: Fri, 18 Oct 2024 09:35:10 +0200 Subject: [PATCH] Clearn GitlabCI/Badge --- .gitlab-ci.yml | 13 ++++++------- README.md | 2 ++ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e179d2b..19a6d89 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,7 +3,6 @@ stages: - publish variables: - # Cette variable permet de spécifier que Composer installera uniquement les dépendances nécessaires COMPOSER_ALLOW_SUPERUSER: 1 APP_ENV: test @@ -14,17 +13,17 @@ cache: test: stage: test - image: php:8.2 + # Image unicaen avec les librairies usuelles (et Composer 2.3.x) + image: registre.unicaen.fr:5000/open-source/docker/unicaen-image:php8.2 + before_script: - # Met à jour Composer et installe les dépendances - - apt-get update -yqq - - apt-get install git unzip -yqq - - curl -sS https://getcomposer.org/installer | php - - php composer.phar install --prefer-dist --no-progress --no-interaction + - composer install --prefer-dist --no-progress --no-interaction + script: # Exécute les tests PHPUnit - mkdir -p tests/_output - ./vendor/bin/phpunit --colors=always --log-junit tests/_output/junit.xml + artifacts: when: always expire_in: 1 week diff --git a/README.md b/README.md index 50927d0..16f4475 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ + + # Guide de développement Le module signature permet d'intégrer à votre application un système de signature numérique. Cela se fait via une application tiers (un **parapheur numérique**). -- GitLab