1
0
mirror of https://github.com/danog/file.git synced 2024-12-02 09:17:57 +01:00

get travis coveralls working

This commit is contained in:
Daniel Lowrey 2015-07-19 12:22:16 -04:00
parent fb962c30b4
commit 5602f6a337
4 changed files with 9 additions and 2 deletions

1
.coveralls.yml Normal file
View File

@ -0,0 +1 @@
src_dir: lib

1
.gitattributes vendored
View File

@ -1,4 +1,5 @@
/test export-ignore /test export-ignore
/.coveralls.yml export-ignore
/.gitattributes export-ignore /.gitattributes export-ignore
/.gitignore export-ignore /.gitignore export-ignore
/.php_cs export-ignore /.php_cs export-ignore

View File

@ -16,4 +16,8 @@ before_script:
- composer install --dev - composer install --dev
script: script:
- vendor/bin/phpunit --coverage-text - vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml
- php vendor/bin/php-cs-fixer --diff --dry-run -v fix
after_script:
- php vendor/bin/coveralls -v

View File

@ -24,7 +24,8 @@
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "~4.4.0", "phpunit/phpunit": "~4.4.0",
"fabpot/php-cs-fixer": "~1.9" "fabpot/php-cs-fixer": "~1.9",
"satooshi/php-coveralls": "0.7.*@dev"
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {