2022-12-31 02:01:17 +01:00
|
|
|
stages:
|
|
|
|
- tests
|
|
|
|
|
2023-01-03 15:37:19 +01:00
|
|
|
tests:bullseye:
|
2022-12-31 21:15:19 +01:00
|
|
|
image:
|
2023-01-03 15:37:19 +01:00
|
|
|
name: brenard/ldapsaisie:bullseye
|
2023-01-02 01:45:20 +01:00
|
|
|
entrypoint: [""]
|
2023-01-02 01:38:47 +01:00
|
|
|
|
2022-12-31 02:01:17 +01:00
|
|
|
stage: tests
|
|
|
|
rules:
|
|
|
|
- changes:
|
|
|
|
- src/*
|
|
|
|
script:
|
|
|
|
- composer install
|
2022-12-31 21:15:19 +01:00
|
|
|
- service slapd start
|
2023-01-03 15:37:19 +01:00
|
|
|
- ./vendor/bin/phpstan analyse --no-interaction --configuration=.phpstan/config.neon --error-format=junit > tests-report-bullseye.xml
|
2022-12-31 02:01:17 +01:00
|
|
|
artifacts:
|
|
|
|
when: always
|
|
|
|
paths:
|
2023-01-03 15:37:19 +01:00
|
|
|
- tests-report-bullseye.xml
|
2022-12-31 02:01:17 +01:00
|
|
|
reports:
|
2023-01-03 15:37:19 +01:00
|
|
|
junit: tests-report-bullseye.xml
|
|
|
|
|
|
|
|
tests:buster:
|
|
|
|
image:
|
|
|
|
name: brenard/ldapsaisie:buster
|
|
|
|
entrypoint: [""]
|
|
|
|
|
|
|
|
stage: tests
|
|
|
|
rules:
|
|
|
|
- changes:
|
|
|
|
- src/*
|
|
|
|
script:
|
|
|
|
- composer install
|
|
|
|
- service slapd start
|
|
|
|
- ./vendor/bin/phpstan analyse --no-interaction --configuration=.phpstan/config.neon --error-format=junit > tests-report-buster.xml
|
|
|
|
artifacts:
|
|
|
|
when: always
|
|
|
|
paths:
|
|
|
|
- tests-report-buster.xml
|
|
|
|
reports:
|
|
|
|
junit: tests-report-buster.xml
|
|
|
|
|
|
|
|
tests:stretch:
|
|
|
|
image:
|
|
|
|
name: brenard/ldapsaisie:stretch
|
|
|
|
entrypoint: [""]
|
|
|
|
stage: tests
|
|
|
|
rules:
|
|
|
|
- changes:
|
|
|
|
- src/*
|
|
|
|
script:
|
|
|
|
- cd /tmp/
|
|
|
|
- composer require overtrue/phplint --dev
|
|
|
|
- cd -
|
|
|
|
- rm -f .phplint-cache
|
|
|
|
- /tmp/vendor/bin/phplint src
|
|
|
|
|
|
|
|
tests:jessie:
|
|
|
|
image:
|
|
|
|
name: brenard/ldapsaisie:jessie
|
|
|
|
entrypoint: [""]
|
|
|
|
stage: tests
|
|
|
|
rules:
|
|
|
|
- changes:
|
|
|
|
- src/*
|
|
|
|
script:
|
|
|
|
- cd /tmp/
|
|
|
|
- composer require overtrue/phplint --dev
|
|
|
|
- cd -
|
|
|
|
- rm -f .phplint-cache
|
|
|
|
- /tmp/vendor/bin/phplint src
|