From 28c640a1e8eeae8d431654e087fd060bc7d5a1aa Mon Sep 17 00:00:00 2001 From: Mike Bronner Date: Thu, 14 May 2015 08:48:39 -0700 Subject: [PATCH] Added mysql credentials to complete section. --- Adding-PHPCI-Support-to-Your-Projects.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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.