-
Notifications
You must be signed in to change notification settings - Fork 711
Add pip caching to Travis CI builds #520
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
Add pip caching to Travis CI builds #520
Conversation
Signed-off-by: Daniel GonzΓ‘lez Lopes <[email protected]> Clean build file Signed-off-by: Daniel GonzΓ‘lez Lopes <[email protected]>
a93ecd8
to
6443ca0
Compare
Codecov Report
@@ Coverage Diff @@
## master #520 +/- ##
==========================================
- Coverage 89.47% 89.37% -0.10%
==========================================
Files 43 43
Lines 2213 2193 -20
Branches 250 250
==========================================
- Hits 1980 1960 -20
Misses 161 161
Partials 72 72
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! do you have benchmarks around the improvement?
I'm doing a spot check on this build vs other branches, and I see ~ 1 minute improvement in the python3.8 task:
https://travis-ci.org/github/open-telemetry/opentelemetry-python/builds/665436900?utm_source=github_status&utm_medium=notification (39m total time)
https://travis-ci.org/github/open-telemetry/opentelemetry-python/builds/664957298?utm_medium=notification&utm_source=github_status (41m total time)
@c24t this might interest you :) |
Hi @toumorokoshi, thank you for taking the time to review :) I have these builds from my fork: The second build uses the cache created by the first one. |
These build times are still a good reason to google how to spell "abysmal". π |
Very relevant to my interests, thanks for picking this up @dgzlopes! The change LGTM, but I'm surprised it's such a small improvement. Looks like there's still work to do to speed our builds up. |
thanks! |
PR adds pip caching to the
.travis.yml
This could be helpful for #513
Signed-off-by: Daniel GonzΓ‘lez Lopes [email protected]