Passed
Push — master ( 267e25...886bfb )
by Jerome
62:04 queued 11:49
created

Repository Config

filter:
    excluded_paths:
            - '*/.scripts/*'
            - '.scripts/*'
            - '*/vendors/*'
            - '*/engine/lib/deprecated*'
            - '*/engine/lib/upgrades/*'
            - '*/engine/schema/*'
            - '*/vendor/*'
            - '*/tests/*'
            - 'docs/*'
            - '*/docs/*'
            - '*/bower_components/*'
            - '*/grunt/*'
            - '*/docs/*'
            - '*/install/*'
checks:
    php:
        code_rating: true
        duplication: true


build:
    dependencies:
        before:
            - 'composer travis:install-with-mysql'
            - 'php -f ./.scripts/travis/enable_plugins.php'
    environment:
        php: 7.2
        memcached: true
        variables:
            ELGG_DB_PREFIX: 't_i_elgg_'
            ELGG_DB_HOST: 'localhost'
            ELGG_DB_NAME: 'elgg'
            ELGG_DB_USER: 'root'
            ELGG_DB_PASS: 'password'
            ELGG_WWWROOT: 'http://localhost/'
    tests:
        override:
            -
                command: 'vendor/bin/phpunit --coverage-clover=coverage'
                coverage:
                    file: 'coverage'
                    format: 'clover'
            - phpcs-run --standard=vendor/elgg/sniffs/elgg.xml --tab-width=4
    nodes:
        analysis:
            tests:
                override:
                    - php-scrutinizer-run
        tests: true