Commit 69dff052 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Update .gitlab-ci.yml

parent 607ed65e
Loading
Loading
Loading
Loading
Loading
+2 −17
Original line number Diff line number Diff line
image: registre.unicaen.fr:5000/unicaen-dev-php7.4-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:
    - apt-get update && apt-get -y upgrade && apt-get -y install curl
    - curl https://gest.unicaen.fr/packagist/update