mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-22 09:59:06 +01:00
CI: fix local execution problems
This commit is contained in:
parent
cbf1ff1769
commit
e303706779
1 changed files with 14 additions and 1 deletions
|
@ -11,9 +11,15 @@ tests:bullseye:
|
|||
- changes:
|
||||
- src/*
|
||||
script:
|
||||
- rm -fr vendor
|
||||
- composer install
|
||||
- service slapd start
|
||||
- ./vendor/bin/phpstan analyse --no-interaction --configuration=.phpstan/config.neon --error-format=junit > tests-report-bullseye.xml
|
||||
- >
|
||||
if [ "$GITLAB_CI" == "true" ]; then
|
||||
./vendor/bin/phpstan analyse --no-interaction --configuration=.phpstan/config.neon --error-format=junit > tests-report-bullseye.xml
|
||||
else
|
||||
./vendor/bin/phpstan analyse --no-interaction --configuration=.phpstan/config.neon
|
||||
fi
|
||||
artifacts:
|
||||
when: always
|
||||
paths:
|
||||
|
@ -31,9 +37,16 @@ tests:buster:
|
|||
- changes:
|
||||
- src/*
|
||||
script:
|
||||
- rm -fr vendor
|
||||
- composer install
|
||||
- service slapd start
|
||||
- ./vendor/bin/phpstan analyse --no-interaction --configuration=.phpstan/config.neon --error-format=junit > tests-report-buster.xml
|
||||
- >
|
||||
if [ "$GITLAB_CI" == "true" ]; then
|
||||
./vendor/bin/phpstan analyse --no-interaction --configuration=.phpstan/config.neon --error-format=junit > tests-report-buster.xml
|
||||
else
|
||||
./vendor/bin/phpstan analyse --no-interaction --configuration=.phpstan/config.neon
|
||||
fi
|
||||
artifacts:
|
||||
when: always
|
||||
paths:
|
||||
|
|
Loading…
Reference in a new issue