Completed
Pull Request — master (#487)
by Andrew
15:13 queued 06:59
created

Checkout Config

build:
  nodes:
    tests:
      services:
        mysql: 5.6
      dependencies:
        override:
#          - mysql -uroot -e "CREATE DATABASE IF NOT EXISTS fwdays_com_test"
#          - mysql -uroot -e "CREATE DATABASE IF NOT EXISTS fwdays_com_development"
          - composer install --no-interaction --no-scripts
          - php vendor/sensio/distribution-bundle/Sensio/Bundle/DistributionBundle/Resources/bin/build_bootstrap.php
          - php app/console assets:install
  tests:
    override:
      - bin/phpunit -c app
#      - true
  environment:
    rabbitmq: false
    mysql: 5.6
    postgresql: false
    mongodb: false
    elasticsearch: false
    redis: false
    memcached: false
    neo4j: false
    php:
      version: 5.4

checks:
  php:
    code_rating: true
    duplication: true

filter:
  excluded_paths:
    - 'app/*'
    - 'bin/*'
    - '*.min.js'
    - 'web/assets/*'

coding_style:
  php: {  }

tools:
  php_code_sniffer:
    config:
      standard: "PSR2"
  php_cs_fixer: true
  sensiolabs_security_checker: true

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:
    paths:
        - 'src/*'
    excluded_paths:
        - '*.min.js'
        - '*/vendor/*'
checks:
    php: true
    javascript: true
coding_style:
    php: {  }