Skip to content

Commit

Permalink
Merge pull request #137 from andrewnicols/pcov
Browse files Browse the repository at this point in the history
Add support for pcov
  • Loading branch information
stronk7 authored Sep 24, 2021
2 parents 2b3d9d2 + 8854b4b commit 9bc9a25
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions root/tmp/setup/php-extensions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,16 @@ docker-php-ext-configure ldap
docker-php-ext-install -j$(nproc) ldap

# APCu, igbinary, Memcached, MongoDB, Redis, Solr, uuid, XMLRPC (beta)
pecl install apcu igbinary memcached mongodb redis solr uuid xmlrpc-beta
docker-php-ext-enable apcu igbinary memcached mongodb redis solr uuid xmlrpc
pecl install apcu igbinary memcached mongodb redis solr uuid xmlrpc-beta pcov
docker-php-ext-enable apcu igbinary memcached mongodb redis solr uuid xmlrpc pcov

echo 'apc.enable_cli = On' >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini

echo "pcov.enabled=0" >> /usr/local/etc/php/conf.d/docker-php-ext-pcov.ini
echo "pcov.exclude='~\/(tests|coverage|vendor|node_modules)\/~'" >> /usr/local/etc/php/conf.d/docker-php-ext-pcov.ini
echo "pcov.directory=." >> /usr/local/etc/php/conf.d/docker-php-ext-pcov.ini
echo "pcov.initial.files=1024" >> /usr/local/etc/php/conf.d/docker-php-ext-pcov.ini

# Install Microsoft dependencies for sqlsrv.
# (kept apart for clarity, still need to be run here
# before some build packages are deleted)
Expand Down

0 comments on commit 9bc9a25

Please sign in to comment.