Closed red-led closed 3 years ago
@seyfer, looks like errors are related to xdebug config:
==> Error E_WARNING in /home/travis/build/Ph3nol/NotificationPusher/vendor/atoum/atoum/classes/test.php on line 1355, generated by file /home/travis/build/Ph3nol/NotificationPusher/vendor/atoum/atoum/classes/test.php on line 1355: Code coverage needs to be enabled in php.ini by setting 'xdebug.mode' to 'coverage'
xdebug.mode=coverage
is new for xdebug3. I have no idea, how to change it in travis builds :(
@red-led thank you, I will have a look this weekend!
@red-led please add this code
env:
global:
- XDEBUG_MODE=coverage
in .travis.yml
after php
section. Should work after. :)
If it will not work, try to do this https://travis-ci.community/t/warning-xdebug-mode-coverage-has-to-be-set-in-php-ini/10919/8?u=seyfer
@red-led now you have problem with composer install.
Could you please try to update the only composer.json but revert composer.lock changes? It is wrong, I know, but might fix the build.
@seyfer done.
Have you considered not storing composer.lock
in git at all?
@seyfer, will you publish new release with this changes?
@seyfer I also need the new release with this change, please :)
@red-led hey, thank you for the contribution.
could you please have a look at why tests are failing?