2017 © Pedro Peláez
 

library phpci-process-plugin

PHPCI plugin for handling processes that should run throughout testing

image

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

The README.md

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

  1. Navigate to your PHPCI root directory and run composer require cooperaj/phpci-process-plugin
  2. If you are using the PHPCI daemon, restart it
  3. 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:

The Versions

05/02 2016

dev-master

9999999-dev

PHPCI plugin for handling processes that should run throughout testing

  Sources   Download

MIT

The Requires

 

The Development Requires

05/02 2016

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

22/01 2016

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