diff --git a/.gitignore b/.gitignore index 0bf5d75..5dd6157 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ vendor composer.lock .idea -.php_cs.cache \ No newline at end of file +.php_cs.cache +build \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index 3a4dda6..52d38e5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,7 @@ language: php +env: + global: + - CC_TEST_REPORTER_ID=$CC_TEST_REPORTER_ID dist: precise php: - '7.1' diff --git a/composer.json b/composer.json index f255878..95df055 100644 --- a/composer.json +++ b/composer.json @@ -32,7 +32,7 @@ } }, "scripts": { - "test": "@php vendor/bin/phpunit --verbose", + "test": "@php vendor/bin/phpunit --verbose --coverage-text --coverage-clover build/logs/clover.xml", "style": "@php vendor/bin/php-cs-fixer fix" } } diff --git a/phpunit.xml.dist b/phpunit.xml.dist index b49369f..d723ff0 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -15,6 +15,7 @@ ./tests + ./src