Passed
Push — master ( c0a3a7...3b84a4 )
by Jeroen
58:51
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/'
            ELGG_MEMCACHE: '1'
            ELGG_MEMCACHE_SERVER1_HOST: '127.0.0.1'
            ELGG_MEMCACHE_SERVER1_PORT: 11211 
            ELGG_MEMCACHE_NAMESPACE_PREFIX: 'elgg_'
    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