Skip to content

Commit 3c03175

Browse files
committed
Add coverage
1 parent 62e0084 commit 3c03175

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ before_script:
1111
- composer install --dev -o -n
1212

1313
script:
14-
- vendor/bin/phpunit --testdox # --coverage-clover build/logs/clover.xml
14+
- vendor/bin/phpunit --testdox --coverage-clover=coverage.xml
1515

16-
# after_script:
17-
# - php vendor/bin/coveralls -v
16+
after_success:
17+
- bash <(curl -s https://codecov.io/bash)

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
[![Build Status](https://img.shields.io/travis/scriptotek/php-marc.svg?style=flat-square)](https://travis-ci.org/scriptotek/php-marc)
1+
[![Build Status](https://img.shields.io/travis/scriptotek/php-marc/master.svg?style=flat-square)](https://travis-ci.org/scriptotek/php-marc)
2+
[![Coverage](https://img.shields.io/codecov/c/github/scriptotek/php-marc/master.svg?style=flat-square)](https://codecov.io/gh/scriptotek/php-marc)
23
[![StyleCI](https://styleci.io/repos/41363199/shield)](https://styleci.io/repos/41363199)
34
[![Scrutinizer Code Quality](https://img.shields.io/scrutinizer/g/scriptotek/php-marc.svg?style=flat-square)](https://scrutinizer-ci.com/g/scriptotek/php-marc/?branch=master)
45
[![Code Climate](https://img.shields.io/codeclimate/github/scriptotek/marc.svg?style=flat-square)](https://codeclimate.com/github/scriptotek/marc)

0 commit comments

Comments
 (0)