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/96107813 Tree: http://git-wip-us.apache.org/repos/asf/opennlp/tree/96107813 Diff: http://git-wip-us.apache.org/repos/asf/opennlp/diff/96107813 Branch: refs/heads/parser_regression Commit: 9610781359e2ffb9a5f09b0c94f3a56a24ca78bc Parents: 40cdacb Author: Jörn Kottmann <[email protected]> Authored: Mon Feb 20 14:22:56 2017 +0100 Committer: Jörn Kottmann <[email protected]> Committed: Sun Apr 16 19:24:54 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/96107813/.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/96107813/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>
