mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-19 06:18:07 +01:00
cleanup travis
This commit is contained in:
parent
8a1a1eb403
commit
2323b82186
11
.travis.yml
11
.travis.yml
@ -18,14 +18,17 @@ install:
|
||||
|
||||
before_script:
|
||||
# disable xdebug if not coverage
|
||||
- if [[ $PHPUNIT_FLAGS = "" ]]; then phpenv config-rm xdebug.ini; fi
|
||||
- if [[ $PHPUNIT_FLAGS == "" ]]; then phpenv config-rm xdebug.ini; fi
|
||||
|
||||
script:
|
||||
- vendor/bin/phpunit $PHPUNIT_FLAGS
|
||||
# disable xdebug
|
||||
- phpenv config-rm xdebug.ini || return 0
|
||||
- if [[ $STATIC_ANALYSIS == true ]]; then composer check-cs; fi
|
||||
- if [[ $STATIC_ANALYSIS == true ]]; then composer phpstan; fi
|
||||
- |
|
||||
if [[ $STATIC_ANALYSIS == true ]]; then
|
||||
composer check-cs
|
||||
composer phpstan
|
||||
fi
|
||||
# Rector demo run
|
||||
- if [[ $RUN_RECTOR == true ]]; then bin/rector process src tests --level symfony40 --dry-run; fi
|
||||
# Rector describe command
|
||||
@ -41,7 +44,7 @@ after_script:
|
||||
|
||||
# split monorepo sub-packages
|
||||
- |
|
||||
if [[ $MONOREPO_SPLIT != "" ]]; then
|
||||
if [[ $MONOREPO_SPLIT == "" ]]; then
|
||||
vendor/bin/monorepo-builder split -v
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user