Using Composer version 1.0-dev (ffffab37a294f3383c812d0329623f0a4ba45387).
A custom command is added and works fine until the point it stops with a ProcessTimedOutException
"scripts":{
"phpunit": "php ../../tests/phpunit/phpunit.php -c phpunit.xml.dist"
}
...........................................I................ 2580 / 2750 ( 93%)
.....
[Symfony\Component\Process\Exception\ProcessTimedOutException]
The process "php ../../tests/phpunit/phpunit.php -c phpunit.xml.dist" exceeded the timeout of 300 seconds.
Doing something like export COMPOSER_PROCESS_TIMEOUT=600 as proposed by [0] is not feasible and therefore an option within the composer.json file should be more useful to avoid having an user to manually change some mystic global setting.
[0] http://stackoverflow.com/questions/18917768/why-composer-install-timeouts-after-300-seconds
Set process-timout config to 0 in your root composer.json (https://getcomposer.org/doc/04-schema.md#config).
Thanks
Most helpful comment
Set
process-timoutconfig to0in your rootcomposer.json(https://getcomposer.org/doc/04-schema.md#config).