GitHub user sesuncedu reopened a pull request:
https://github.com/apache/commons-compress/pull/39
COMPRESS-413: Performance improvements for Travis builds
Change travis configuration to
- skip pre-build install (which runs the install goal).
- remove after_success code.
- use mvnw to use up-to-date version of maven.
- run all goals/phases previously included in after_sucess phase, using
-Ptravis-jacoco profile if one exists.
- clean
- apache-rat:check
- test
- jacoco:report
- coveralls:report
- This will fail the build if any of the above goals fail. The goals that
are most likely to fail are: apache-rat:check and test. coveralls configuration
is changed in pom to not fail the build if the service is not available (e.g.
for forks that do not have repository registered with coveralls).
- Note that the apache-rat: check could be added to the pom (executing by
default in the validate phase)
- Also note that the jacoco:check goal can be added to the pom
(executing by default in the verify phase).
- the script could then be changed to execute the verify goal.
- coveralls stuff could be run in an after_success script. That script
could restrict coveralls notification to a single point in the jdk matrix
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sesuncedu/commons-compress COMPRESS-413
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/commons-compress/pull/39.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #39
----
commit ed024e9a6de41f72655674f0c7cdcce5700cf82d
Author: Simon Spero <[email protected]>
Date: 2017-06-19T20:15:16Z
add mvnw
(cherry picked from commit 91a08f4)
Signed-off-by: Simon Spero <[email protected]>
commit 8d543fd017f5c963f25541109fd48ceba1e0666c
Author: Simon Spero <[email protected]>
Date: 2017-06-22T16:13:45Z
COMPRESS-413
Alter pom.xml:
- Add Simon Spero as contributor.
- change javadoc configuration to use <docencoding> (lowercase e) instead
of <docEncoding> (uppercase E).
- see
https://maven.apache.org/plugins/maven-javadoc-plugin/javadoc-mojo.html#docencoding
- exclude .mvn/** from rat check (mvnw and mvnw.cmd are ok since they
already have APL header).
- add plugin configuration for coveralls to pluginManagement. Set
failOnServiceError to false to avoid breaking the build
if coveralls is not available
Signed-off-by: Simon Spero <[email protected]>
commit 95974fc671661244c83fdead2231f8367a67d2ba
Author: Simon Spero <[email protected]>
Date: 2017-06-22T17:00:13Z
COMPRESS-413
Change travis configuration to
- skip pre-build install (which runs the install goal).
- remove after_success code.
- use mvnw to use up-to-date version of maven.
- run all goals/phases previously included in after_sucess phase, using
-Ptravis-jacoco profile if one exists.
- clean
- apache-rat:check
- test
- jacoco:report
- coveralls:report
- This will fail the build if any of the above goals fail. The goals that
are most likely to fail are: apache-rat:check and test. coveralls configuration
is changed in pom to not fail the build if the service is not available (e.g.
for forks that do not have repository registered with coveralls).
- Note that the apache-rat: check could be added to the pom (executing by
default in the validate phase)
- Also note that the jacoco:check goal can be added to the pom
(executing by default in the verify phase).
- the script could then be changed to execute the verify goal.
- coveralls stuff could run in a after_success script that checked and
only ran for a selected jdk
Signed-off-by: Simon Spero <[email protected]>
commit 7b4ecc9e7c9d2fb32ddfe4f92791aacf9f17d901
Author: Simon Spero <[email protected]>
Date: 2017-06-22T18:32:48Z
Switch to trusty container.
Use only openjdk7 and openjdk8 as jdks
Signed-off-by: Simon Spero <[email protected]>
commit 0a61bfde39bb3e8122101622bb96ca918f85ebc7
Author: Simon Spero <[email protected]>
Date: 2017-06-22T18:42:00Z
Add comment to .travis.yml
Signed-off-by: Simon Spero <[email protected]>
commit a632a7f090ab8dc673fb57f22709bdaddf3ee802
Author: Simon Spero <[email protected]>
Date: 2017-06-22T20:12:56Z
Cover last two extra lines in ExplodingInputStream
Signed-off-by: Simon Spero <[email protected]>
commit 05b849faf0b1fee3d462b71d9e2c350ba791b06c
Author: Simon Spero <[email protected]>
Date: 2017-06-22T20:32:16Z
Cover last three lines in BinaryTree
Signed-off-by: Simon Spero <[email protected]>
commit 5d82b0d7ff4f2664e35602ad5bfe1353e764fa79
Author: Simon Spero <[email protected]>
Date: 2017-06-22T20:59:47Z
Implement AsiExtraField clone without calling super method, to avoid
coverage tests complaining that an impossible exception has not been thrown.
Test parsing AsiExtraField as if it came from central directory (identical
to local). Because coverage.
Signed-off-by: Simon Spero <[email protected]>
commit a434e5866df38e4b1f089c280f0b1a784e41a86d
Author: Simon Spero <[email protected]>
Date: 2017-06-22T21:05:43Z
New JarMarkerTest to make JarMarker throw an exception, bring coverage up
to 100%
Signed-off-by: Simon Spero <[email protected]>
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---