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

Ajout .gitlab-ci.yml

parent 7eed1370
Loading
Loading
Loading
Loading

.gitlab-ci.yml

0 → 100644
+22 −0
Original line number Diff line number Diff line
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 --colors=never > coverage.txt
  artifacts:
    paths:
      - coverage.txt

update-satis:
  stage: publish
  script:
    - update-satis