Skip to content

Commit cce2f43

Browse files
author
Matt Bernier
authored
Merge pull request sendgrid#68 from mptap/patch-1
Fixes sendgrid#67 Add CodeCov support to .travis.yml
2 parents 55c5dfd + 3d558bd commit cce2f43

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ before_script:
33
- composer install --dev --no-interaction
44
- cd test/unit
55
script:
6-
- ../../vendor/bin/phpunit . --bootstrap bootstrap.php --filter test* --coverage-clover clover.xml
6+
- ../../vendor/bin/phpunit . --bootstrap bootstrap.php --filter test* --coverage-clover=coverage.xml
7+
after_success:
8+
- bash <(curl -s https://codecov.io/bash)
79
php:
810
- 5.6
911
- 7.0
@@ -22,4 +24,4 @@ notifications:
2224
Build %{build_number}</a> on branch <i>%{branch}</i> by %{author}: <strong>%{message}</strong>
2325
<a href="https://github.com/%{repository}/commits/%{commit}">View on GitHub</a>'
2426
format: html
25-
notify: true
27+
notify: true

0 commit comments

Comments
 (0)