diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1897b725d1b889766993c76f764db02fda2d0f20..7c88b68edadb1265a553772719d7973fd6048099 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,24 +1,9 @@ -image: registre.unicaen.fr:5000/unicaen-dev-php7.3-apache - stages: -- tests -- publish - -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 + - publish update-satis: stage: publish + image: python:3.9 script: - - curl https://gest.unicaen.fr/packagist/update + - apt-get update && apt-get -y upgrade && apt-get -y install curl + - curl https://gest.unicaen.fr/packagist/update \ No newline at end of file