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

Enable dependency caching for travis #283

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Taher-Ghaleb
Copy link

Would be interested to know why maven dependencies haven't been cached on Travis. Thank you.

@stolstov
Copy link
Member

Thank you for the PR. It is not obvious to me, what kind of issue this is causing and what you are trying to resolve. Could you clarify?

@Taher-Ghaleb
Copy link
Author

Hi @stolstov. This helps speed up builds by caching maven dependencies onto the Travis CI server. So, instead of installing dependencies for every build, Travis will use the binaries of dependencies from the cache. Hope that clarifies the purpose of this PR. You may read more about it here. Thanks.

@stolstov
Copy link
Member

@Taher-Ghaleb Thank you for the explanation. According to the build history on travis, the builds are a little over 4 minutes. I've added a lot of code here and never had a thought about travis build being an issue.

Out of curiosity do you have any numbers to that show things are significantly faster with your change?

@Taher-Ghaleb
Copy link
Author

I see. It's because that this repository has only a few dependencies. Reduction of build speed could be significant when the repository has so many dependencies. I am still researching this on various repositories to explore how the improvement of caching differs from one repo to another. Thank you.

@randallwhitman randallwhitman changed the title Enable depedency caching for travis Enable dependency caching for travis Mar 4, 2024
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.

None yet

2 participants