Skip to content
This repository has been archived by the owner on Mar 30, 2018. It is now read-only.

Make Humbug tests up and running #219

Closed
pamil opened this issue Apr 14, 2017 · 3 comments
Closed

Make Humbug tests up and running #219

pamil opened this issue Apr 14, 2017 · 3 comments
Assignees

Comments

@pamil
Copy link
Collaborator

pamil commented Apr 14, 2017

From the lowest versions:

  • PHP 5.5 build fails because of changed Symfony\Component\Console\Application::getLongVersion() from symfony/console somewhere in between 2.8.19 and 3.2.7, it should be solved by overriding its definition
  • PHP 5.6 build fails because of calling unexisting PHPUnit_Util_Configuration::getTestdoxGroupConfiguration() from phpunit/phpunit somewhere in between 4.8.35 and 5.7.19, needs to be investigated

No more changes needed to get Travis green, removing hhvm-nightly and matrix configuration is already done in #207.

@pamil pamil self-assigned this Apr 14, 2017
@pamil
Copy link
Collaborator Author

pamil commented Apr 14, 2017

The strange failures for PHP 5.6 and PHP 7.0 are caused by Humbug using a PHPUnit binary provided with phpenv, so PHP 7.0 uses PHPUnit 6.0 even when Composer installs PHPUnit 5.7 to vendor/bin.

@padraic
Copy link
Collaborator

padraic commented Apr 14, 2017

Merged both PRs for you. Should be close to having all our 3rd party service support back in order after today!

@pamil
Copy link
Collaborator Author

pamil commented Apr 14, 2017

After having a deeper look, Composer does not return correct binaries directory because Behat changes current working directory to something like /tmp/humbug-behat6b5eee and there's no composer.json. This causes Humbug to look for phpunit using $PATH environmental variable.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants