Skip to content

Commit 72a871a

Browse files
committed
Revert "Use codecov.io for gathering code coverage."
This reverts commit d246e5b. Revert until I found why it fail the build.
1 parent 7352780 commit 72a871a

File tree

5 files changed

+10
-6
lines changed

5 files changed

+10
-6
lines changed

.coveralls.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
service_name: travis-ci

NEWS.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
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
2120

2221
0.3
2322
- (functionality) implemented possibility to user to add series to his collection

README.md

Lines changed: 1 addition & 1 deletion
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://codecov.io/gh/php-coder/mystamps/branch/master/graph/badge.svg)](https://codecov.io/gh/php-coder/mystamps)
5+
[![Coverage Status](https://coveralls.io/repos/php-coder/mystamps/badge.svg?branch=master)](https://coveralls.io/r/php-coder/mystamps)
66

77
## What's it?
88

pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -480,6 +480,7 @@
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>
483484
<cucumber.version>1.2.5</cucumber.version>
484485
<datagen.version>2.2.1</datagen.version>
485486

@@ -931,6 +932,12 @@
931932
</executions>
932933
</plugin>
933934

935+
<plugin>
936+
<groupId>org.eluder.coveralls</groupId>
937+
<artifactId>coveralls-maven-plugin</artifactId>
938+
<version>${coveralls.plugin.version}</version>
939+
</plugin>
940+
934941
<plugin>
935942
<groupId>org.jacoco</groupId>
936943
<artifactId>jacoco-maven-plugin</artifactId>

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,7 @@ set -o pipefail
1515

1616
JACOCO_FAIL=
1717

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
18+
mvn --batch-mode jacoco:prepare-agent test jacoco:report coveralls:jacoco -Denforcer.skip=true -DskipMinify=true >jacoco.log 2>&1 || JACOCO_FAIL=yes
2219

2320
print_status "$JACOCO_FAIL" 'Publish code coverage'
2421

0 commit comments

Comments
 (0)