Skip to content

Instantly share code, notes, and snippets.

@zilionis
Forked from kozog/phpci.yml
Last active August 29, 2015 14:10
Show Gist options
  • Select an option

  • Save zilionis/38dbc8eda0e50f7e74db to your computer and use it in GitHub Desktop.

Select an option

Save zilionis/38dbc8eda0e50f7e74db to your computer and use it in GitHub Desktop.
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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment