.gitlab-ci.yml 421 Bytes
Newer Older
Laurent Lécluse's avatar
Laurent Lécluse committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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=coverage.txt --colors=never
#  artifacts:
#    paths:
#      - coverage.txt

update-satis:
  stage: publish
Laurent Lécluse's avatar
Laurent Lécluse committed
21
  cache: []
Laurent Lécluse's avatar
Laurent Lécluse committed
22
  script:
Laurent Lécluse's avatar
Laurent Lécluse committed
23
    - curl https://gest.unicaen.fr/packagist/update