From 77c314dd0f1c4b3788a599f2ff7a170627d94144 Mon Sep 17 00:00:00 2001 From: Timothy J Warren Date: Wed, 15 Feb 2017 09:50:13 -0500 Subject: [PATCH] Will xdebug work? --- build/docker_install.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/build/docker_install.sh b/build/docker_install.sh index 3d1240e2..37261762 100644 --- a/build/docker_install.sh +++ b/build/docker_install.sh @@ -12,12 +12,11 @@ apk upgrade --update && apk add \ libxslt-dev \ zlib-dev +# Install xdebug for coverage report +docker-php-source extract pecl install xdebug - -echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)\n" >> /usr/local/etc/php/conf.d/xdebug.ini -#echo "xdebug.remote_enable=on\n" >> /usr/local/etc/php/conf.d/xdebug.ini -#echo "xdebug.remote_autostart=off\n" >> /usr/local/etc/php/conf.d/xdebug.ini -#echo "xdebug.remote_port=9000\n" >> /usr/local/etc/php/conf.d/xdebug.ini +docker-php-ext-enable xdebug +docker-php-source delete # Install phpunit, the tool that we will use for testing curl -Lo /usr/local/bin/phpunit https://phar.phpunit.de/phpunit.phar