Added mysql credentials to complete section.

Mike Bronner 2015-05-14 08:48:39 -07:00
commit 28c640a1e8

@ -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.