travis: add Rector test run on itself

This commit is contained in:
TomasVotruba 2018-03-03 10:09:46 +01:00
parent 0ea3040021
commit 8803c30353

View File

@ -3,7 +3,7 @@ language: php
matrix:
include:
- php: 7.1
env: STATIC_ANALYSIS=true
env: STATIC_ANALYSIS=true RUN_RECTOR=true
- php: 7.2
env: PHPUNIT_FLAGS="--coverage-clover coverage.xml --testsuite=contrib-rectors"
- php: 7.2
@ -24,6 +24,8 @@ script:
- phpenv config-rm xdebug.ini || return 0
- if [[ $STATIC_ANALYSIS != "" ]]; then composer check-cs; fi
- if [[ $STATIC_ANALYSIS != "" ]]; then composer phpstan; fi
# Rector demo run
- if [[ $RUN_RECTOR != "" ]]; then bin/rector process src tests --level symfony40 --dry-run; fi
after_script:
# upload coverage to Coveralls.io