build: dependencies: before: - 'composer travis:install-with-mysql' environment: php: 7.0 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 filter: excluded_paths: - '*/vendors/*' - '*/engine/lib/deprecated*' - '*/engine/lib/upgrades/*' - '*/engine/schema/*' - '*/vendor/*' - '*/tests/*' - '*/docs/*' - '*/bower_components/*' - '*/grunt/*' - '*/docs/*' - '*/install/*' checks: php: code_rating: true duplication: true