library phpci-process-plugin
PHPCI plugin for handling processes that should run throughout testing
cooperaj/phpci-process-plugin
PHPCI plugin for handling processes that should run throughout testing
- Friday, February 5, 2016
- by cooperaj
- Repository
- 1 Watchers
- 0 Stars
- 21 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 1 Forks
- 1 Open issues
- 3 Versions
- 0 % Grown
Background Process plugin for PHPCI
This plugin allows you to manage daemons and other processes that should run for the duration
of your tests. Such as mailcatcher or beanstalk., (*1)
Install the Plugin
- Navigate to your PHPCI root directory and run
composer require cooperaj/phpci-process-plugin
- If you are using the PHPCI daemon, restart it
- Update your
phpci.yml
in the project you want to deploy with
PHPCI Config
setup:
Cooperaj\PHPCI\Plugin\BackgroundProcesses:
- "mailcatcher --ip 0.0.0.0 --foreground"
- "someotherdaemon --always-run-in-foreground"
- "SOME_ENVIRONMENT_VARIABLE=Some_value some_script with --parameter=value"
If you're using the PHPCI daemon to run your builds you'll also need to run the Stop plugin
as a part of your complete step otherwise the background processes you've started will not
stop., (*2)
complete:
Cooperaj\PHPCI\Plugin\StopBackgroundProcesses:
dev-master
9999999-dev
PHPCI plugin for handling processes that should run throughout testing
Sources
Download
MIT
The Requires
The Development Requires
v1.1.0
1.1.0.0
PHPCI plugin for handling processes that should run throughout testing
Sources
Download
MIT
The Requires
The Development Requires
v1.0.0
1.0.0.0
PHPCI plugin for handling processes that should run throughout testing
Sources
Download
MIT
The Requires
The Development Requires