Skip to content
This repository was archived by the owner on Nov 13, 2018. It is now read-only.

Commit 5d05576

Browse files
committed
Add: codecov.io
1 parent 17c049d commit 5d05576

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.travis.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ git:
1515
# Define the php versions against we want to test our code
1616
php:
1717
- 7.0
18+
- 7.1
1819

1920

2021
matrix:
@@ -29,7 +30,7 @@ sudo: false
2930
# Composer package installation
3031
install:
3132
# Install composer packages, will also trigger dump-autoload
32-
- composer install --no-interaction
33+
- travis_retry composer install --no-interaction
3334
# Install coveralls.phar
3435
- wget -c -nc --retry-connrefused --tries=0 https://github.com/satooshi/php-coveralls/releases/download/v1.0.1/coveralls.phar
3536
- chmod +x coveralls.phar
@@ -47,9 +48,12 @@ script:
4748

4849
#after_script:
4950

50-
# Submit generated coverage report to Coveralls servers, see .coveralls.yml
51+
5152
after_success:
53+
# Submit coverage report to Coveralls servers, see .coveralls.yml
5254
- travis_retry php coveralls.phar -v
55+
# Submit coverage report to codecov.io
56+
- bash <(curl -s https://codecov.io/bash)
5357

5458
#after_failure:
5559

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
[![Build Status](https://travis-ci.org/ankurk91/phpunit-travis-ci-coveralls-example.svg?branch=master)](https://travis-ci.org/ankurk91/phpunit-travis-ci-coveralls-example)
55
[![Coverage Status](https://coveralls.io/repos/github/ankurk91/phpunit-travis-ci-coveralls-example/badge.svg?branch=master)](https://coveralls.io/github/ankurk91/phpunit-travis-ci-coveralls-example?branch=master)
6-
6+
[![codecov](https://codecov.io/gh/ankurk91/phpunit-travis-ci-coveralls-example/branch/master/graph/badge.svg)](https://codecov.io/gh/ankurk91/phpunit-travis-ci-coveralls-example)
77

88
### Prerequisites
99
* php v7.0+, [requirements](https://phpunit.de/manual/current/en/installation.html#installation.requirements)

0 commit comments

Comments
 (0)