Added param 'priority_path' (For all plugins) for control paths priority when we search plugin binary. Issue #104.

This commit is contained in:
Dmitry Khomutov 2017-07-19 10:26:51 +07:00
commit 59837a8ff1
No known key found for this signature in database
GPG key ID: 7EB36C9576F9ECB9
27 changed files with 164 additions and 94 deletions

View file

@ -102,16 +102,16 @@ plugins.
```yml
test: # Test stage config for all branches
php_unit:
allow_failures: 10
php_cs_fixer:
allowed_warnings: -1
success: # Success stage config for all branches
shell: ./notify
branch-release: # Test config for release branch
run-option: replace # This can be set to either before, after or replace
test:
php_unit:
allow_failures: 0
php_cs_fixer:
allowed_warnings: 0
branch-master: # Test config for release branch
run-option: after # This can be set to either before, after or replace
success:
@ -125,7 +125,7 @@ When you have configured a branch eg "stable" in the project settings in the UI.
"branch-<branch>", in this case "branch-stable" to the `.php-censor.yml`. In this config, specify all stages and
plugins you wish to run.
Also add a new config value `run-option`, that can heve 3 values:
Also add a new config value `run-option`, that can have 3 values:
* `before` - will cause the branch specific plugins to run before the default ones.
* `after` - will cause the branch specific plugins to run after the default ones.

View file

@ -41,7 +41,7 @@ Troubleshooting
---------------
If standard logging of PHP Censor is not enough, to get standard output from any command, including PHPUnit, edit
`BaseCommandExecutor::executeCommand()` to see what exactly is wrong
`CommandExecutor::executeCommand()` to see what exactly is wrong
* Run `composer update` in phpunit plugin directory of PHP Censor to get all of its dependencies
* If phpunit is inside of the project's composer.json, it might interfere with PHP Censor's phpunit installation
* Make sure you have XDebug installed.`The Xdebug extension is not loaded. No code coverage will be generated.`