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: version: 7.2 ini: apc.cache_by_default: "1" apc.canonicalize: "1" apc.coredump_unmap: "1" apc.enable_cli: "0" apc.enabled: "1" apc.file_update_protection: "2" apc.gc_ttl: "3600" apc.include_once_override: "0" apc.local_size: 128M apc.localcache: "1" apc.max_file_size: 128K apc.mmap_file_mask: /apc.shm.XXXXXX apc.num_files_hint: "1024" apc.optimization: "0" apc.report_autofilter: "0" apc.rfc1867: "1" apc.rfc1867_freq: "5" apc.rfc1867_name: APC_UPLOAD_PROGRESS apc.rfc1867_prefix: upload_ apc.shm_segments: "1" apc.shm_size: 128M apc.stat: "1" apc.stat_ctime: "1" apc.ttl: "7200" apc.user_ttl: "7200" apc.write_lock: "1" 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/' TRAVIS: true tests: override: - command: 'vendor/bin/phpunit --coverage-clover=coverage' coverage: file: 'coverage' format: 'clover' - phpcs-run --standard=vendor/elgg/sniffs/elgg.xml --ignore=*/mod/login_as/* engine/classes engine/lib actions mod views nodes: analysis: tests: override: - php-scrutinizer-run tests: true