dancryer/PHPCI

Project specific composer binary. Get findBinary to search in build directory.

netbrothers-tr opened this issue · 0 comments

Expected behaviour

I would like the run-builds command to find a composer.phar which resides in the root of the build directory. In the phpci.yml I can only give absolute paths for composer, right? But the build directory is different for every build. Have I overlooked something? The info at https://github.com/Block8/PHPCI/wiki/Composer-plugin seems wrong where it states that the directory option defaults to the build root.

Actual behaviour

The plugin will search for the composer binary in /path/to/phpci and in /path/to/phpci/vendor/bin (of course /path/to depends on your installation path) or globally but not in the build directory.

Steps to reproduce

Try to build a project whose specific composer binary resides in the root of the project and is not available globally.

Environment info

Operating System: Ubuntu Server 14.04
PHP Version: 5.5.9
MySQL Version: 5.6.31