1
0
mirror of https://github.com/danog/file.git synced 2024-11-26 11:54:54 +01:00

Disable phpdbg where it segfaults

This commit is contained in:
Niklas Keller 2017-12-17 20:56:45 +01:00
parent fb58fe8dd5
commit 36bb70a95b

View File

@ -27,11 +27,16 @@ install:
- chmod +x coveralls.phar
script:
- phpdbg -qrr vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml
# PHPDBG segfaults on versions other than 7.0 currently
- if [ "$TRAVIS_PHP_VERSION" = "7.0" ]; then
phpdbg -qrr vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml;
else
vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml;
fi
- PHP_CS_FIXER_IGNORE_ENV=1 php vendor/bin/php-cs-fixer --diff --dry-run -v fix
after_script:
- ./coveralls.phar
- if [ "$TRAVIS_PHP_VERSION" = "7.0" ]; then ./coveralls.phar; fi
cache:
directories: