Commit 2b294ca8 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

AJout d'un .gitlab-ci.yml pour automatiser la màj satis

parent f3ec9c2f
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.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