1
0
mirror of synced 2025-02-02 21:41:45 +03:00

Disable XDebug based on PHPUnit flags instead

Then we don't need to keep changing versions information.
This commit is contained in:
Luís Cobucci 2017-05-31 11:25:10 +02:00
parent 22ecc2d58c
commit 2359360149
No known key found for this signature in database
GPG Key ID: EC61C5F01750ED3C

View File

@ -14,7 +14,7 @@ env:
before_script:
- if [[ $TRAVIS_PHP_VERSION = '7.0' && $DB = 'sqlite' ]]; then PHPUNIT_FLAGS="--coverage-clover ./build/logs/clover.xml"; else PHPUNIT_FLAGS=""; fi
- if [[ $TRAVIS_PHP_VERSION -lt '7.0' && $TRAVIS_PHP_VERSION != 'hhv*' ]]; then phpenv config-rm xdebug.ini; fi
- if [[ "$PHPUNIT_FLAGS" == "" ]]; then phpenv config-rm xdebug.ini; fi
- composer self-update
- composer install --prefer-source
- if [ "$DEPENDENCIES" != "low" ]; then composer update; fi;