Commit ff792668 authored by Tino Goratsch's avatar Tino Goratsch

install xdebug only for the unit testing job

parent 03386185
Pipeline #15511813 passed with stages
in 7 minutes and 50 seconds
......@@ -22,6 +22,8 @@ test:php-unit:
before_script:
- bash ./build/gitlab/before_script.sh > /dev/null
- bash ./build/gitlab/before_script_php.sh > /dev/null
- pecl install xdebug
- docker-php-ext-enable xdebug
script:
- php composer.phar install -n -o
- php ./vendor/bin/phpunit -c ./tests/phpunit.dist.xml --coverage-text --colors=never
......@@ -32,7 +34,6 @@ test:phpcs:
before_script:
- bash ./build/gitlab/before_script.sh > /dev/null
- bash ./build/gitlab/before_script_php.sh > /dev/null
- docker-php-ext-disable xdebug
script:
- php composer.phar install -n -o
- php composer.phar run-script lint
......
......@@ -7,11 +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
# Install composer
curl --silent --show-error https://getcomposer.org/installer | php
......
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