Improve Travis Build#1224
Closed
sijie wants to merge 1 commit into
Closed
Conversation
*Problem* There are a couple of problem with current travis build - apache#1223 introduce `set -e` on script section, which it cause some weird early-existing problem. - we run two installs. one is the default install by travis, the other one is install with apache-rat/spotbug checks in script section, which make the build slow. - travis_retry and travis_wait spread across different commands in the script section *Solution* - move build logic into a bash script file and invoke the script - skip install section in travis *Result* This reduces travis build time by 10+ mins and make it stable
Member
Author
|
The travis CI passed. the failure is on jenkins integration tests job (timeout at building docker image) |
Member
Author
|
IGNORE IT CI |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Descriptions of the changes in this PR:
Problem
There are a couple of problem with current travis build
site#1223 introduceset -eon script section, which it cause some weird early-exiting problem.Solution
Result
This reduces travis build time by 10+ mins and make it stable
NOTES:
The changes under
siteandstream/distributedlogare usedempty commitsto trigger corresponding builds in travis.