Skip to content

Commit 5be5b52

Browse files
committedFeb 20, 2017
NoJira: Run jacoco during build and not afterwards
1 parent c5a15b2 commit 5be5b52

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed
 

‎.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ before_install:
2020
- export M2_HOME=$PWD/apache-maven-3.3.9
2121
- export PATH=$M2_HOME/bin:$PATH
2222

23-
script: mvn clean install
23+
script: mvn clean install -Pjacoco
2424

2525
after_success:
26-
- mvn clean test -Pjacoco jacoco:report coveralls:report
26+
- mvn jacoco:report coveralls:report

‎pom.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -214,9 +214,6 @@
214214
<groupId>org.eluder.coveralls</groupId>
215215
<artifactId>coveralls-maven-plugin</artifactId>
216216
<version>${coveralls.maven.plugin}</version>
217-
<configuration>
218-
<repoToken>BD8e0j90KZlQdko7H3wEo5a0mTLhmoeyk</repoToken>
219-
</configuration>
220217
</plugin>
221218

222219
<plugin>
@@ -397,6 +394,9 @@
397394

398395
<profile>
399396
<id>jacoco</id>
397+
<properties>
398+
<opennlp.forkCount>1</opennlp.forkCount>
399+
</properties>
400400
<build>
401401
<plugins>
402402
<plugin>

0 commit comments

Comments
 (0)
Please sign in to comment.