Skip to content

Instantly share code, notes, and snippets.

@beansme
Forked from skecskes/phpci.yml
Created September 1, 2016 03:18
Show Gist options
  • Select an option

  • Save beansme/097cb2e13b7a74bcd96ec7894fb6dca7 to your computer and use it in GitHub Desktop.

Select an option

Save beansme/097cb2e13b7a74bcd96ec7894fb6dca7 to your computer and use it in GitHub Desktop.

Revisions

  1. @skecskes skecskes created this gist May 9, 2015.
    46 changes: 46 additions & 0 deletions phpci.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,46 @@
    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: [email protected]

    complete:
    email:
    default_mailto_address: [email protected]