Last active
March 26, 2017 21:51
-
-
Save kozog/b0502bd590385b31143d to your computer and use it in GitHub Desktop.
PHP-CI symfony config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
build_settings: | |
ignore: | |
- "vendor" | |
- "tests" | |
setup: | |
composer: | |
action: "install" | |
shell: | |
- "%BUILD_PATH%/app/console doctrine:schema:drop --force" | |
- "%BUILD_PATH%/app/console doctrine:schema:create" | |
- "%BUILD_PATH%/app/console doctrine:fixtures:load -n" | |
test: | |
php_unit: | |
config: | |
- "app/phpunit.xml.dist" | |
php_code_sniffer: | |
path: "src" | |
standard: "PSR1,PSR2" | |
allowed_errors: 10 | |
allow_warnings: 99999 | |
php_mess_detector: | |
rules: | |
- "codesize" | |
- "unusedcode" | |
- "naming" | |
allow_failures: true | |
complete: | |
shell: | |
- "%BUILD_PATH%/app/console doctrine:schema:drop --force" | |
- "%BUILD_PATH%/app/console doctrine:schema:create" | |
- "%BUILD_PATH%/app/console doctrine:fixtures:load -n" | |
you can use in php_code_sniffer:
allow_warnings: -1 #unlimited, so basicly allow all warnings
How did you define %BUILD_PATH%? Can you define system root path? I want to copy build if successful to /var/www and set new symlink to make deployment.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@kozog Ok, but where do you create/copy parameters.yml file with eg. database parameters?