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
|
- testparm -s
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- composer install
|
- composer install --dev --no-interaction
|
||||||
|
|
||||||
script:
|
script:
|
||||||
# Run phpunit tests
|
- mkdir -p build/logs
|
||||||
- cd tests
|
- 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" : {
|
"require" : {
|
||||||
"php": ">=5.3"
|
"php": ">=5.3"
|
||||||
},
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"satooshi/php-coveralls" : "dev-master"
|
||||||
|
},
|
||||||
"autoload" : {
|
"autoload" : {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
"Icewind\\SMB\\": "src/"
|
"Icewind\\SMB\\": "src/"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue