Commit 3aada6c2 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

AJout d'un .gitlab-ci.yml

parent 93e82447
Loading
Loading
Loading
Loading
Loading

.gitlab-ci.yml

0 → 100644
+24 −0
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
  script:
    - curl https://gest.unicaen.fr/packagist/update