-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
ci: Travis: disable cache by default, only for pre-commit #4881
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4881 +/- ##
=========================================
+ Coverage 95.67% 95.7% +0.02%
=========================================
Files 113 113
Lines 25172 25172
Branches 2498 2498
=========================================
+ Hits 24083 24090 +7
+ Misses 767 764 -3
+ Partials 322 318 -4
Continue to review full report at Codecov.
|
For pip the usual http caching should be good enough. This keeps the cache for pre-commit with the linting env for now. Ref: pytest-dev#3502
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.
directories: | ||
- $HOME/.cache/pip | ||
- $HOME/.cache/pre-commit | ||
cache: false |
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.
this is the default iirc
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.
Fine if we want to keep it, but I suggest to add a comment like the one you put on the description of this PR for reference. 👍
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.
👍
directories: | ||
- $HOME/.cache/pip | ||
- $HOME/.cache/pre-commit | ||
cache: false |
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.
Fine if we want to keep it, but I suggest to add a comment like the one you put on the description of this PR for reference. 👍
@nicoddemus |
diff --git c/.travis.yml i/.travis.yml
index 750f93f8..ae90401d 100644
--- c/.travis.yml
+++ i/.travis.yml
@@ -147,4 +147,5 @@ notifications:
skip_join: true
email:
- [email protected]
+# For pip the usual http caching should be good enough, cache is used for pre-commit.
cache: false |
Oops sorry |
For pip the usual http caching should be good enough.
This keeps the cache for pre-commit with the linting env for now.
Ref: #3502
Timings: