Skip to content

Commit e8fed95

Browse files
committed
Use codecov.io for gathering code coverage.
Fix #755 No functional changes.
1 parent f8ee971 commit e8fed95

File tree

5 files changed

+6
-10
lines changed

5 files changed

+6
-10
lines changed

.coveralls.yml

-1
This file was deleted.

NEWS.txt

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
- (functionality) add interface for adding buyers and sellers
1818
- (functionality) add capability to specify image URL (as alternative to providing a file)
1919
- (functionality) admin can import a series from an external site
20+
- (integration) migrate from coveralls.io to codecov.io service for code coverage
2021

2122
0.3
2223
- (functionality) implemented possibility to user to add series to his collection

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![Build Status](https://travis-ci.org/php-coder/mystamps.svg?branch=master)](https://travis-ci.org/php-coder/mystamps)
44
[![Dependency Status](https://www.versioneye.com/user/projects/55b783256537620017001225/badge.svg?style=flat)](https://www.versioneye.com/user/projects/55b783256537620017001225)
5-
[![Coverage Status](https://coveralls.io/repos/php-coder/mystamps/badge.svg?branch=master)](https://coveralls.io/r/php-coder/mystamps)
5+
[![Coverage Status](https://codecov.io/gh/php-coder/mystamps/branch/master/graph/badge.svg)](https://codecov.io/gh/php-coder/mystamps)
66
[![PDD Status](http://www.0pdd.com/svg?name=php-coder/mystamps)](http://www.0pdd.com/p?name=php-coder/mystamps)
77

88
## What's it?

pom.xml

-7
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,6 @@
480480

481481
<commons.lang.version>3.4</commons.lang.version>
482482
<compiler.plugin.version>3.6.1</compiler.plugin.version>
483-
<coveralls.plugin.version>2.2.0</coveralls.plugin.version>
484483
<cucumber.version>1.2.5</cucumber.version>
485484
<datagen.version>2.2.1</datagen.version>
486485

@@ -932,12 +931,6 @@
932931
</executions>
933932
</plugin>
934933

935-
<plugin>
936-
<groupId>org.eluder.coveralls</groupId>
937-
<artifactId>coveralls-maven-plugin</artifactId>
938-
<version>${coveralls.plugin.version}</version>
939-
</plugin>
940-
941934
<plugin>
942935
<groupId>org.jacoco</groupId>
943936
<artifactId>jacoco-maven-plugin</artifactId>

src/main/scripts/ci/publish-code-coverage.sh

+4-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ set -o pipefail
1515

1616
JACOCO_FAIL=
1717

18-
mvn --batch-mode jacoco:prepare-agent test jacoco:report coveralls:jacoco -Denforcer.skip=true -DskipMinify=true >jacoco.log 2>&1 || JACOCO_FAIL=yes
18+
mvn --batch-mode jacoco:prepare-agent test jacoco:report -Denforcer.skip=true -DskipMinify=true >jacoco.log 2>&1 || JACOCO_FAIL=yes
19+
20+
# -Z Exit with 1 if not successful. Default will Exit with 0
21+
bash <(curl -s https://codecov.io/bash) -Z >>jacoco.log 2>&1 || JACOCO_FAIL=yes
1922

2023
print_status "$JACOCO_FAIL" 'Publish code coverage'
2124

0 commit comments

Comments
 (0)