1
0
mirror of synced 2025-02-09 00:39:25 +03:00

Merge pull request #6570 from stloyd/patch-1

Prevent Travis-CI failure if xdebug is not available
This commit is contained in:
Luís Cobucci 2017-07-21 11:19:30 +02:00 committed by GitHub
commit 39572a8b6e

View File

@ -13,7 +13,7 @@ env:
before_script:
- if [[ $TRAVIS_PHP_VERSION = '7.1' && $DB = 'sqlite' && "$DEPENDENCIES" != "low" ]]; then PHPUNIT_FLAGS="--coverage-clover ./build/logs/clover.xml"; else PHPUNIT_FLAGS=""; fi
- if [[ "$PHPUNIT_FLAGS" == "" ]]; then phpenv config-rm xdebug.ini; fi
- if [[ "$PHPUNIT_FLAGS" == "" ]]; then phpenv config-rm xdebug.ini || echo "xdebug not available"; fi
- if [[ $PHPSTAN = 1 ]]; then echo "extension=redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi
- composer self-update
- composer install --prefer-source