From df4e6884f14038af707fc2d518895ca95858dcb2 Mon Sep 17 00:00:00 2001 From: Thomas Weinert Date: Mon, 23 Jun 2014 10:25:18 +0200 Subject: [PATCH] Configuation for scruntinizer ci --- .gitattributes | 4 +++- .scrutinizer.yml | 8 ++++++++ .travis.yml | 2 +- dist.phpunit.xml => phpunit.xml.dist | 0 4 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 .scrutinizer.yml rename dist.phpunit.xml => phpunit.xml.dist (100%) diff --git a/.gitattributes b/.gitattributes index 142d916..4592de5 100644 --- a/.gitattributes +++ b/.gitattributes @@ -2,9 +2,11 @@ .gitignore export-ignore .travis.yml export-ignore +.scrutinizer.yml export-ignore build.xml export-ignore -dist.phpunit.xml export-ignore +phpunit.xml.dist export-ignore phpdox.xml export-ignore /tests export-ignore /examples export-ignore + diff --git a/.scrutinizer.yml b/.scrutinizer.yml new file mode 100644 index 0000000..fb13725 --- /dev/null +++ b/.scrutinizer.yml @@ -0,0 +1,8 @@ +imports: + - php +filter: + paths: [src/*] +tools: + php_code_coverage: true +before_commands: + - "composer install --prefer-source" diff --git a/.travis.yml b/.travis.yml index 256529a..bbb7fd4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,4 +7,4 @@ php: install: composer install -script: phpunit --configuration dist.phpunit.xml +script: phpunit --configuration phpunit.xml.dist diff --git a/dist.phpunit.xml b/phpunit.xml.dist similarity index 100% rename from dist.phpunit.xml rename to phpunit.xml.dist