From f57d05b0b30a33718550ade0d1e90d7df42f58d8 Mon Sep 17 00:00:00 2001 From: David Surville <david.surville@unicaen.fr> Date: Fri, 1 Apr 2022 09:54:15 +0200 Subject: [PATCH] Ajout d'un .gitlab-ci.yml pour les versions 3.1.* --- .gitlab-ci.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..8a5a036 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,24 @@ +image: registre.unicaen.fr:5000/unicaen-dev-php7.3-apache + +stages: + - publish + - tests + +cache: + key: ${CI_COMMIT_REF_SLUG} + paths: + - vendor/ + +#unit-tests: +# stage: tests +# script: +# - composer install --no-interaction --no-suggest --no-progress +# - php vendor/bin/phpunit --coverage-text=coverage.txt --colors=never +# artifacts: +# paths: +# - coverage.txt + +update-satis: + stage: publish + script: + - curl https://gest.unicaen.fr/packagist/update \ No newline at end of file -- GitLab