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.
This should fix cases when travis caches pip installs from https://github.com/StackStorm/st2/blob/master/requirements.txt#L9 when the target
master
branch code was actually updated (happened in #3721).Pull Request caches rely first on
master
branch: https://docs.travis-ci.com/user/caching/#Pull-request-builds-and-caches So we won't cachemaster
branch anymore. It means first build for every PR comes with no cache.There is also no way to invalidate the cache at the moment once the content is changed in remote git, except of pip upgrade or version change in pip package. See reports in pip:
Using --editable pip requirements will fix the issue, but it's not supported by
dh-virtualenv
: spotify/dh-virtualenv#134I won't know if the fix actually worked or not before merging this into
master
and testing #3727 afterwards.