php_helper improve for dev/test
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@ -22,9 +22,14 @@ if [ $PHP_VERSION = '72' ]; then
|
||||
composer global require hirak/prestissimo
|
||||
fi
|
||||
|
||||
if [ $ENVIRONMENT != 'production' ]; then
|
||||
wget -O phpunit https://phar.phpunit.de/phpunit-9.phar
|
||||
install phpunit /usr/local/bin
|
||||
fi
|
||||
|
||||
if [ $ENVIRONMENT = 'development' ]; then
|
||||
apk --update --no-cache add autoconf g++ make
|
||||
pecl install -f xdebug
|
||||
docker-php-ext-enable xdebug
|
||||
apk del --purge autoconf g++ make
|
||||
fi
|
||||
fi
|
||||
|
Reference in New Issue
Block a user