Skip to content

Commit 1e7e6c0

Browse files
committed
feat add coverage badge
1 parent 87fcf73 commit 1e7e6c0

File tree

4 files changed

+13
-1
lines changed

4 files changed

+13
-1
lines changed

Diff for: .gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ vendor
44
composer.lock
55
release*
66
.php_cs.cache
7+
coverage.clover

Diff for: .scrutinizer.yml

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
build:
2+
tests:
3+
override:
4+
-
5+
command: phpunit
6+
coverage:
7+
file: coverage.clover
8+
format: php-clover
19
filter:
210
paths:
311
- 'src/*'

Diff for: .travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ php:
44
before_script:
55
- composer install
66
script:
7-
- phpunit -c phpunit.xml
7+
- phpunit

Diff for: phpunit.xml

+3
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,7 @@
1414
<file>./tests/UpyunTest.php</file>
1515
</testsuite>
1616
</testsuites>
17+
<logging>
18+
<log type="coverage-clover" target="coverage.clover"/>
19+
</logging>
1720
</phpunit>

0 commit comments

Comments
 (0)