mirror of
https://github.com/danog/file.git
synced 2024-11-29 20:09:10 +01:00
get travis coveralls working
This commit is contained in:
parent
fb962c30b4
commit
5602f6a337
1
.coveralls.yml
Normal file
1
.coveralls.yml
Normal file
@ -0,0 +1 @@
|
||||
src_dir: lib
|
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -1,4 +1,5 @@
|
||||
/test export-ignore
|
||||
/.coveralls.yml export-ignore
|
||||
/.gitattributes export-ignore
|
||||
/.gitignore export-ignore
|
||||
/.php_cs export-ignore
|
||||
|
@ -16,4 +16,8 @@ before_script:
|
||||
- composer install --dev
|
||||
|
||||
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
|
@ -24,7 +24,8 @@
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "~4.4.0",
|
||||
"fabpot/php-cs-fixer": "~1.9"
|
||||
"fabpot/php-cs-fixer": "~1.9",
|
||||
"satooshi/php-coveralls": "0.7.*@dev"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
|
Loading…
Reference in New Issue
Block a user