Completed
Branch master (d70da5)
by Arthur
16:15
created

Checkout Config

filter:
  excluded_paths: [tests/*]

checks:
  php:
    code_rating: true
    duplication: true
    remove_extra_empty_lines: true
    remove_php_closing_tag: true
    remove_trailing_whitespace: true
    fix_use_statements:
      remove_unused: true
      preserve_multiple: false
      preserve_blanklines: true
      order_alphabetically: true
    fix_php_opening_tag: true
    fix_linefeed: true
    fix_line_ending: true
    fix_identation_4spaces: true
    fix_doc_comments: true

tools:
  external_code_coverage:
    timeout: 600
    runs: 3

build:
  dependencies:
    before:
    - 'pecl install mongodb'
    - 'pecl install redis'
    - 'cp .env.travis .env'
    - 'cp phpunit.travis.xml phpunit.xml'
    - 'composer update'
    - 'php artisan key:generate'
  tests:
    override:
    - php-scrutinizer-run
    -
      command: phpcs-run
      use_website_config: true
    -
      command: 'vendor/bin/phpunit'
  environment:
    php:
      version: 7.2
    mongodb: '4.0'

Repository Config

build:
    nodes:
        analysis:
            project_setup:
                override:
                    - 'true'
            tests:
                override:
                    - php-scrutinizer-run
                    -
                        command: phpcs-run
                        use_website_config: true
                    - js-scrutinizer-run
        tests: true
filter:
    excluded_paths:
        - 'tests/*'
checks:
    php: true
    javascript: true
coding_style:
    php:
        spaces:
            within:
                brackets: true