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:
|
- changes:
|
||||||
- src/*
|
- src/*
|
||||||
script:
|
script:
|
||||||
|
- rm -fr vendor
|
||||||
- composer install
|
- composer install
|
||||||
- service slapd start
|
- 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:
|
artifacts:
|
||||||
when: always
|
when: always
|
||||||
paths:
|
paths:
|
||||||
|
@ -31,9 +37,16 @@ tests:buster:
|
||||||
- changes:
|
- changes:
|
||||||
- src/*
|
- src/*
|
||||||
script:
|
script:
|
||||||
|
- rm -fr vendor
|
||||||
- composer install
|
- composer install
|
||||||
- service slapd start
|
- service slapd start
|
||||||
- ./vendor/bin/phpstan analyse --no-interaction --configuration=.phpstan/config.neon --error-format=junit > tests-report-buster.xml
|
- ./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:
|
artifacts:
|
||||||
when: always
|
when: always
|
||||||
paths:
|
paths:
|
||||||
|
|
Loading…
Reference in a new issue