NoJira: Run jacoco during build and not afterwards

Project: http://git-wip-us.apache.org/repos/asf/opennlp/repo
Commit: http://git-wip-us.apache.org/repos/asf/opennlp/commit/093ff4cc
Tree: http://git-wip-us.apache.org/repos/asf/opennlp/tree/093ff4cc
Diff: http://git-wip-us.apache.org/repos/asf/opennlp/diff/093ff4cc

Branch: refs/heads/parser_regression
Commit: 093ff4cc7dab8b21d648141b6093ece9da51a8a0
Parents: 1368463
Author: Jörn Kottmann <[email protected]>
Authored: Mon Feb 20 14:22:56 2017 +0100
Committer: Jörn Kottmann <[email protected]>
Committed: Thu Apr 20 12:40:21 2017 +0200

----------------------------------------------------------------------
 .travis.yml | 4 ++--
 pom.xml     | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/opennlp/blob/093ff4cc/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 49d902e..b3399b2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -20,7 +20,7 @@ before_install:
   - export M2_HOME=$PWD/apache-maven-3.3.9
   - export PATH=$M2_HOME/bin:$PATH
 
-script: mvn clean install
+script: mvn clean install -Pjacoco
 
 after_success:
-  - mvn clean test -Pjacoco jacoco:report coveralls:report
+  - mvn jacoco:report coveralls:report

http://git-wip-us.apache.org/repos/asf/opennlp/blob/093ff4cc/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 8e37452..45d3c37 100644
--- a/pom.xml
+++ b/pom.xml
@@ -214,9 +214,6 @@
                                        <groupId>org.eluder.coveralls</groupId>
                                        
<artifactId>coveralls-maven-plugin</artifactId>
                                        
<version>${coveralls.maven.plugin}</version>
-                                       <configuration>
-                                               
<repoToken>BD8e0j90KZlQdko7H3wEo5a0mTLhmoeyk</repoToken>
-                                       </configuration>
                                </plugin>
 
                                <plugin>
@@ -397,6 +394,9 @@
 
                <profile>
                        <id>jacoco</id>
+                       <properties>
+                               <opennlp.forkCount>1</opennlp.forkCount>
+                       </properties>
                        <build>
                                <plugins>
                                        <plugin>

Reply via email to