travis: add dog food run

This commit is contained in:
Tomas Votruba 2019-03-31 21:55:38 +02:00
parent 9262ef9e4b
commit d64dcfbc54

View File

@ -12,6 +12,8 @@ matrix:
env: STANDALONE=true
- php: 7.3
env: COVERAGE=true
- php: 7.3
env: DOG_FOOD=true
allow_failures:
- php: 7.1
env: CODING_STANDARD=true
@ -42,6 +44,12 @@ script:
composer docs
fi
# eat your own dog fodd
- |
if [[ $DOG_FOOD == true ]]; then
bin/rector process src packages --level dead-code --dry-run
fi
# Run standalone install in non-root package, ref https://github.com/rectorphp/rector/issues/732
- |
if [[ $STANDALONE == true ]]; then