Commit 2224ec48 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Update .gitlab-ci.yml

parent ff9f1bb9
Loading
Loading
Loading
Loading
Loading
+3 −18
Original line number Diff line number Diff line
image: registre.unicaen.fr:5000/unicaen-dev-php8.0-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
 No newline at end of file