Passed
Push — master ( d3d783...8699b5 )
by Josh
02:19
created

Checkout Config

build:
  dependencies:
    # Overwrites inferred commands
    override:
    - 'composer install --no-interaction --prefer-source --no-scripts'
  nodes:
    tests:
      dependencies:
        before:
        # The following installs the most recent MODX CMS version, you might want
        # to install a specific release tag or branch instead.
        - git clone --depth=1 https://github.com/modxcms/revolution
        # - git checkout tags/v2.6.5-pl
        - php -r "file_exists('revolution/_build/build.properties.php') || copy('revolution/_build/build.properties.sample.php', 'revolution/_build/build.properties.php');"
        - php -r "file_exists('revolution/_build/build.config.php') || copy('revolution/_build/build.config.sample.php', 'revolution/_build/build.config.php');"
        - php revolution/_build/transport.core.php
        # - php ./index.php --installmode=new
        - php ./tests/scrutinizer/setup.php
      # MySQL https://scrutinizer-ci.com/docs/build/mysql_credentials

filter:
  dependency_paths:
  - revolution/*
  excluded_paths:
  - tests/*
  - src/bootstrap.php

Repository Config

build:
    nodes:
        analysis:
            project_setup:
                override:
                    - 'true'
            tests:
                override:
                    - php-scrutinizer-run
                    -
                        command: phpcs-run
                        use_website_config: true
            environment:
                node:
                    version: 6.0.0
        tests: true
filter:
    excluded_paths:
        - 'tests/*'
        - 'bin/*'
checks:
    php: true

coding_style:
    php:
        spaces:
            other:
                after_type_cast: false