diff --git a/.coveralls.yml b/.coveralls.yml deleted file mode 100644 index f289677959bd44b3413a523bc929f368e8b400e7..0000000000000000000000000000000000000000 --- a/.coveralls.yml +++ /dev/null @@ -1,3 +0,0 @@ -service_name: travis-ci -src_dir: . -coverage_clover: build/logs/clover-*.xml \ No newline at end of file diff --git a/.scrutinizer.yml b/.scrutinizer.yml new file mode 100644 index 0000000000000000000000000000000000000000..555eaaf2bfdb55ec6b40f1a9c8898b07a471e345 --- /dev/null +++ b/.scrutinizer.yml @@ -0,0 +1,29 @@ +tools: + php_sim: true + php_pdepend: true + php_analyzer: + config: + check_variables: + enabled: false + +filter: + excluded_paths: + - 'tests/*' + - 'libs/*' + - 'misc/*' + - 'lang/*' + +build: + environment: + php: + version: 5.5.12 + dependencies: + before: + - cp tests/PHPUnit/config.ini.travis.php config/config.ini.php + tests: + override: + - + command: cd tests/PHPUnit && phpunit --testsuite UnitTests --coverage-clover clover-unit.xml + coverage: + file: tests/PHPUnit/clover-unit.xml + format: php-clover