Skip to content

Commit 45dff7e

Browse files
committed
Implementing codecov.io to supersede coveralls
Signed-off-by: Maximilian Bösing <[email protected]>
1 parent 837a318 commit 45dff7e

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

.coveralls.yml

-2
This file was deleted.

.gitattributes

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/.coveralls.yml export-ignore
21
/.gitattributes export-ignore
32
/.github/ export-ignore
43
/.gitignore export-ignore

.travis.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ env:
1212
- CS_CHECK=false
1313
- COMPOSER_ARGS="--no-interaction"
1414
- TEST_DEPS="phpunit/phpunit:^9.1 phpspec/prophecy-phpunit webimpress/coding-standard:^1.0"
15-
- COVERAGE_DEPS="$TEST_DEPS php-coveralls/php-coveralls"
1615

1716
matrix:
1817
include:
@@ -42,6 +41,7 @@ matrix:
4241
- php: 7.4
4342
env:
4443
- COMPOSER_VERSION=2
44+
- TEST_COVERAGE=true
4545
- php: 7.4
4646
env:
4747
- TEST_COVERAGE=true
@@ -54,16 +54,16 @@ install:
5454
- travis_retry composer install $COMPOSER_ARGS
5555
- if [[ $COMPOSER_VERSION == "1" ]]; then travis_retry composer update composer/* --prefer-lowest ; fi
5656
- if [[ $TEST == 'true' ]]; then travis_retry composer require --dev $COMPOSER_ARGS $TEST_DEPS ; fi
57-
- if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer require --dev $COMPOSER_ARGS $COVERAGE_DEPS ; fi
57+
- if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer require --dev $COMPOSER_ARGS $TEST_DEPS ; fi
5858
- stty cols 120 && composer show
5959

6060
script:
6161
- if [[ $TEST_COVERAGE == 'true' ]]; then composer test-coverage ; else if [[ $TEST != 'false' ]]; then composer test ; fi ; fi
6262
- if [[ "$COMPAT" == 'true' ]]; then composer compat ; fi
6363
- if [[ $CS_CHECK == 'true' ]]; then composer cs-check ; fi
6464

65-
after_script:
66-
- if [[ $TEST_COVERAGE == 'true' ]]; then vendor/bin/php-coveralls -v ; fi
65+
after_success:
66+
- bash <(curl -s https://codecov.io/bash)
6767

6868
notifications:
6969
email: false

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
[![Build Status](https://travis-ci.com/laminas/laminas-dependency-plugin.svg?branch=master)](https://travis-ci.com/laminas/laminas-dependency-plugin)
44

5+
[![codecov](https://codecov.io/gh/laminas/laminas-dependency-plugin/branch/master/graph/badge.svg)](https://codecov.io/gh/laminas/laminas-dependency-plugin)
6+
57
This Composer plugin, when enabled in a project, intercepts requests to install
68
packages from the zendframework and zfcampus vendors, and will replace them with
79
the equivalents from the Laminas Project.

0 commit comments

Comments
 (0)