Commit ef9f8cdf authored by Tino Goratsch's avatar Tino Goratsch

display the PHP unit test code coverage

parent 4914f6b0
Pipeline #15510784 passed with stages
in 8 minutes and 35 seconds
......@@ -26,7 +26,8 @@ test:php:
- php composer.phar global require hirak/prestissimo
script:
- php composer.phar install -n -o
- php ./vendor/bin/phpunit -c ./tests/phpunit.dist.xml
- php ./vendor/bin/phpunit -c ./tests/phpunit.dist.xml --coverage-text --colors=never
coverage: '/^\s*Lines:\s*\d+.\d+\%/'
split:
image: jderusse/gitsplit
......
......@@ -9,7 +9,7 @@ which ssh-agent || (apt-get install openssh-client -y )
eval $(ssh-agent -s)
mkdir -p ~/.ssh
[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
ssh-add <(echo "$SSH_PRIVATE_KEY")
ssh-add -l
......@@ -7,5 +7,8 @@
apt-get update -yqq
apt-get install git zlib1g-dev unzip libicu-dev -yqq
pecl install xdebug
# Install required PHP extensions for the tests etc.
docker-php-ext-install zip
docker-php-ext-enable xdebug
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment