You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pirk.apache.org by sm...@apache.org on 2017/02/09 11:15:40 UTC
incubator-pirk git commit: NoJira: Enable Coveralls coverage,
this closes apache/incubator-pirk#120
Repository: incubator-pirk
Updated Branches:
refs/heads/master 219720d47 -> 5169e6836
NoJira: Enable Coveralls coverage, this closes apache/incubator-pirk#120
Project: http://git-wip-us.apache.org/repos/asf/incubator-pirk/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-pirk/commit/5169e683
Tree: http://git-wip-us.apache.org/repos/asf/incubator-pirk/tree/5169e683
Diff: http://git-wip-us.apache.org/repos/asf/incubator-pirk/diff/5169e683
Branch: refs/heads/master
Commit: 5169e683680df194e841a65eaa0a373c102aa608
Parents: 219720d
Author: smarthi <sm...@apache.org>
Authored: Thu Feb 9 06:15:32 2017 -0500
Committer: smarthi <sm...@apache.org>
Committed: Thu Feb 9 06:15:32 2017 -0500
----------------------------------------------------------------------
.travis.yml | 3 +++
pom.xml | 23 ++++++++++++++++++-----
2 files changed, 21 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-pirk/blob/5169e683/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 5ae6c9a..befb7d1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -9,3 +9,6 @@ cache:
- $HOME/.m2
script: mvn clean install
+
+after_success:
+ - mvn clean test -Pjacoco jacoco:report coveralls:report
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-pirk/blob/5169e683/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index e0aa532..0841afd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -93,6 +93,9 @@
<spark-streaming.version>2.0.0</spark-streaming.version>
<pirk.forkCount>1C</pirk.forkCount>
<pirk.reuseForks>true</pirk.reuseForks>
+ <coveralls.maven.plugin>4.3.0</coveralls.maven.plugin>
+ <jacoco.maven.plugin>0.7.8</jacoco.maven.plugin>
+ <argLine>-Xmx1G -Djava.net.preferIPv4Stack=true</argLine>
</properties>
<dependencies>
@@ -450,7 +453,7 @@
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
- <version>0.7.7.201606060606</version>
+ <version>${jacoco.maven.plugin}</version>
<executions>
<execution>
<goals>
@@ -475,7 +478,7 @@
<plugin>
<groupId>org.eluder.coveralls</groupId>
<artifactId>coveralls-maven-plugin</artifactId>
- <version>4.2.0</version>
+ <version>${coveralls.maven.plugin}</version>
</plugin>
@@ -485,9 +488,7 @@
<version>2.18</version>
<configuration>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
- <argLine combine.children="append">-Xmx1G
- -Djava.net.preferIPv4Stack=true
- </argLine>
+ <argLine combine.children="append">@{argLine}</argLine>
<systemPropertyVariables>
<log4j.configuration>${log4j.configuration}</log4j.configuration>
</systemPropertyVariables>
@@ -761,6 +762,18 @@
</pluginManagement>
</build>
</profile>
+
+ <profile>
+ <id>jacoco</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jacoco</groupId>
+ <artifactId>jacoco-maven-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>