diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..8a5a03684b769d103ead21d73d692ce19a77129e --- /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