Page:
Composer plugin
Pages
Add a Virtual Host
Adding PHPCI Support to Your Projects
Atoum Plugin
Autobuilding from Atlassian Stash
Autobuilding from Git by Cron
Autobuilding From Git
Autobuilding From GitHub
Autobuilding From GitLab
Autobuilding from Bitbucket
Behat plugin
Campfire plugin
Clean build plugin
Codeception plugin
Composer plugin
Configuring PHPCI
Contributing to PHPCI
Copy build plugin
Deployer
Email plugin
Env plugin
Example phpci.yml
Grunt plugin
Hipchat Notify Plugin
Home
Installing PHPCI
Interpolation
Irc plugin
Lint plugin
Logging
Maintainers
MySQL plugin
PHP Code Sniffer plugin
PHP Coding Standards Fixer plugin
PHP Docblock Checker
PHPCI Config
Package build plugin
Pdepend plugin
Phar Plugin
Phing Plugin
Php copy paste detector plugin
Php loc plugin
Php mess detector plugin
Php parallel lint plugin
Php spec plugin
PhpUnit Plugin
Postgresql plugin
Project Status Images and Page
Run Builds Using Cron
Run Builds Using a Daemon
Run Builds Using a Worker
Shell plugin
Slack Notify Plugin
Technical Debt Plugin
Updating PHPCI
Vanilla Installation on OS X 10.10 Yosemite with OS X Server 4
Vanilla Mac Mavericks Server Installation Guide
XMPP notifications plugin
custom plugins setup
8
Composer plugin
Mike Bronner edited this page 2015-10-07 11:56:25 -07:00
Table of Contents
Allows you to run Composer within your build, to install dependencies prior to testing. Best run as a "setup" stage plugin.
Configuration
Options
- directory [optional, string] - Directory within which you want Composer to run (default: build root)
- action [optional, string, update|install] - Action you wish Composer to run (default: 'install')
- prefer_dist [optional, bool, true|false] - whether Composer should run with the
--prefer-dist
flag (default: false)
Example
setup:
composer:
directory: "my/composer/dir"
action: "update"
prefer_dist: true
Warning
If you are using a Composer private repository like Satis, with HTTP authentication, you must check your username and password inside the auth.json
file. PHPCI uses the --no-interaction
flag, so it will not warn if you must provide that info.
For more info, please check the Composer documentation.