diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8a5a03684b769d103ead21d73d692ce19a77129e..fe33a792456a6955c907fefd3f90dd64502f6dae 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,24 +1,9 @@ -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 + image: python:3.9 script: - - curl https://gest.unicaen.fr/packagist/update \ No newline at end of file + - apt-get update && apt-get -y upgrade && apt-get -y install curl + - curl https://gest.unicaen.fr/packagist/update