Repository: logging-log4j2 Updated Branches: refs/heads/master e2172fe4c -> 52e1ca1d6
Travis CI: Run jacoco:prepare-agent explicitely before tests to set "argLine". Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/52e1ca1d Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/52e1ca1d Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/52e1ca1d Branch: refs/heads/master Commit: 52e1ca1d679531d33f1ce7cf26bf4af3d5710a76 Parents: e2172fe Author: Gary Gregory <[email protected]> Authored: Mon Nov 14 22:27:07 2016 -0800 Committer: Gary Gregory <[email protected]> Committed: Mon Nov 14 22:27:07 2016 -0800 ---------------------------------------------------------------------- .travis.yml | 2 +- pom.xml | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/52e1ca1d/.travis.yml ---------------------------------------------------------------------- diff --git a/.travis.yml b/.travis.yml index 68c9ba8..8de6f78 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,4 +17,4 @@ jdk: - oraclejdk7 after_success: - - mvn --show-version -pl !log4j-bom test jacoco:report coveralls:report + - mvn --show-version -pl !log4j-bom jacoco:prepare-agent test jacoco:report coveralls:report http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/52e1ca1d/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 96c2e4b..df2063e 100644 --- a/pom.xml +++ b/pom.xml @@ -947,6 +947,13 @@ <goal>prepare-agent</goal> </goals> </execution> + <execution> + <id>default-report</id> + <phase>prepare-package</phase> + <goals> + <goal>report</goal> + </goals> + </execution> </executions> </plugin> </plugins> @@ -1013,7 +1020,7 @@ <systemPropertyVariables> <java.awt.headless>true</java.awt.headless> </systemPropertyVariables> - <argLine>-Xms256m -Xmx1024m</argLine> + <argLine>@{argLine} -Xms256m -Xmx1024m</argLine> <forkCount>2C</forkCount> <reuseForks>true</reuseForks> <excludes>
