This repository was archived by the owner on Nov 13, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 15
15
# Define the php versions against we want to test our code
16
16
php :
17
17
- 7.0
18
+ - 7.1
18
19
19
20
20
21
matrix :
@@ -29,7 +30,7 @@ sudo: false
29
30
# Composer package installation
30
31
install :
31
32
# Install composer packages, will also trigger dump-autoload
32
- - composer install --no-interaction
33
+ - travis_retry composer install --no-interaction
33
34
# Install coveralls.phar
34
35
- wget -c -nc --retry-connrefused --tries=0 https://github.com/satooshi/php-coveralls/releases/download/v1.0.1/coveralls.phar
35
36
- chmod +x coveralls.phar
@@ -47,9 +48,12 @@ script:
47
48
48
49
# after_script:
49
50
50
- # Submit generated coverage report to Coveralls servers, see .coveralls.yml
51
+
51
52
after_success :
53
+ # Submit coverage report to Coveralls servers, see .coveralls.yml
52
54
- travis_retry php coveralls.phar -v
55
+ # Submit coverage report to codecov.io
56
+ - bash <(curl -s https://codecov.io/bash)
53
57
54
58
# after_failure:
55
59
Original file line number Diff line number Diff line change 3
3
4
4
[ ![ 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 )
5
5
[ ![ 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 )
7
7
8
8
### Prerequisites
9
9
* php v7.0+, [ requirements] ( https://phpunit.de/manual/current/en/installation.html#installation.requirements )
You can’t perform that action at this time.
0 commit comments