File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 77
88env :
99 global :
10+ - RUN_PHPCSFIXER="TRUE"
11+ - RUN_PHPUNIT="TRUE"
1012 - RUN_PHPSTAN="FALSE"
1113 matrix :
1214 - PREFER_LOWEST="" REPORT_COVERAGE="TRUE" WITH_COVERAGE="--coverage-clover=coverage.xml"
@@ -17,16 +19,19 @@ matrix:
1719 - name : ' PHPStan'
1820 php : 7.4
1921 env :
22+ - RUN_PHPCSFIXER="FALSE"
23+ - RUN_PHPUNIT="FALSE"
2024 - RUN_PHPSTAN="TRUE"
2125 - REPORT_COVERAGE="FALSE"
2226 fast_finish : true
2327
2428before_script :
29+ - if [ $RUN_PHPCSFIXER == "FALSE" ]; then composer remove --dev friendsofphp/php-cs-fixer; fi
2530 - composer update $PREFER_LOWEST
2631
2732script :
28- - if [ $RUN_PHPSTAN == "FALSE " ]; then php vendor/bin/php-cs-fixer fix --dry-run --diff; fi
29- - if [ $RUN_PHPSTAN == "FALSE " ]; then php vendor/bin/phpunit --configuration tests/phpunit.xml $WITH_COVERAGE; fi
33+ - if [ $RUN_PHPCSFIXER == "TRUE " ]; then php vendor/bin/php-cs-fixer fix --dry-run --diff; fi
34+ - if [ $RUN_PHPUNIT == "TRUE " ]; then php vendor/bin/phpunit --configuration tests/phpunit.xml $WITH_COVERAGE; fi
3035 - if [ $RUN_PHPSTAN == "TRUE" ]; then composer phpstan; fi
3136
3237after_success :
You can’t perform that action at this time.
0 commit comments