mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24:07 +02:00
add coverage
This commit is contained in:
parent
ae422b33fc
commit
2e8af98252
2 changed files with 10 additions and 3 deletions
10
.travis.yml
10
.travis.yml
|
|
@ -32,9 +32,13 @@ before_install:
|
|||
- testparm -s
|
||||
|
||||
install:
|
||||
- composer install
|
||||
- composer install --dev --no-interaction
|
||||
|
||||
script:
|
||||
# Run phpunit tests
|
||||
- mkdir -p build/logs
|
||||
- cd tests
|
||||
- phpunit --configuration phpunit.xml
|
||||
- phpunit --coverage-clover ../build/logs/clover.xml --configuration phpunit.xml
|
||||
|
||||
after_script:
|
||||
- cd $CURRENT_DIR
|
||||
- php vendor/bin/coveralls -v
|
||||
|
|
|
|||
|
|
@ -12,6 +12,9 @@
|
|||
"require" : {
|
||||
"php": ">=5.3"
|
||||
},
|
||||
"require-dev": {
|
||||
"satooshi/php-coveralls" : "dev-master"
|
||||
},
|
||||
"autoload" : {
|
||||
"psr-4": {
|
||||
"Icewind\\SMB\\": "src/"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue