Skip to content

Instantly share code, notes, and snippets.

@elton182
Forked from skecskes/phpci.yml
Created February 4, 2017 12:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elton182/15e072b826514338a48c0a8cd4a709d8 to your computer and use it in GitHub Desktop.
Save elton182/15e072b826514338a48c0a8cd4a709d8 to your computer and use it in GitHub Desktop.
phpci.yml Laravel 5 config
build_settings:
verbose: false
prefer_symlink: false
setup:
composer:
action: "install"
prefer_dist: false
test:
php_parallel_lint:
ignore:
- vendor/
- _ide_helper.php
php_code_sniffer:
#standard: "/phpcs.xml"
#allowed_errors: 0
#allowed_warnings: -1 #unlimited
path: "app"
ignore:
- "app/views"
standard: "PSR1,PSR2"
php_mess_detector:
path: "app"
rules:
- "cleancode"
- "controversial"
- "codesize"
- "design"
- "naming"
- "unusedcode"
allow_failures: true
zero_config: true # do not make build as failed if something was detected
php_unit:
config:
- "phpunit.xml"
path: "tests/"
failure:
email:
committer: true
default_mailto_address: mr.kecskes@gmail.com
complete:
email:
default_mailto_address: mr.kecskes@gmail.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment