Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move coverage phase to build stages #116

Merged
merged 1 commit into from
Oct 23, 2017
Merged

Conversation

totakke
Copy link
Member

@totakke totakke commented Oct 23, 2017

The coverage phase accounts for about 2/3 of each build time on CI, and superfluous coverages are currently measured. By moving coverage phase to build stages, the coverage phase will be executed just once and a total of build time will be shortened.

- stage: deploy
jdk: oraclejdk8
script: skip
after_success: echo skip
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it because of an upgrade of Travis CI that this line's no longer necessary?
Seems working fine now, but I wonder why we introduced it.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added this line to avoid that coverage is executed on deploy stage because top-level after_success is also enabled on build stages. Now coverage stage doesn't use after_success, so this line isn't needed anymore.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I get it now, thanks! 😄

@alumi alumi merged commit 8520231 into master Oct 23, 2017
@alumi alumi deleted the feature/build-stage-coverage branch October 23, 2017 03:45
@alumi
Copy link
Member

alumi commented Oct 23, 2017

Merged. Thank you! 👍

@totakke
Copy link
Member Author

totakke commented Oct 23, 2017

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants