Added mysql credentials to complete section.
parent
f01dd18edd
commit
28c640a1e8
1 changed files with 4 additions and 1 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue