diff --git a/Adding-PHPCI-Support-to-Your-Projects.md b/Adding-PHPCI-Support-to-Your-Projects.md index df25fea..3aa7059 100644 --- a/Adding-PHPCI-Support-to-Your-Projects.md +++ b/Adding-PHPCI-Support-to-Your-Projects.md @@ -39,6 +39,9 @@ test: complete: mysql: + host: "localhost" + user: "root" + pass: "" - "DROP DATABASE IF EXISTS test;" ``` @@ -46,7 +49,7 @@ As mentioned earlier, PHPCI is powered by plugins, there are several phases in w * `setup` - This phase is designed to initialise the build procedure. * `test` - The tests that should be run during the build. Plugins run during this phase will contribute to the success or failure of the build. -* `complete` - Always called when the `test` phase completes, regardless of success or failure. +* `complete` - Always called when the `test` phase completes, regardless of success or failure. **Note** that is you do any mysql stuff here, you will need to add the mysql credentials to this section as well, as it runs in a separate instance. * `success` - Called upon success of the `test` phase. * `failure` - Called upon the failure of the `test` phase.