diff options
| author | Markus Heiser <markus.heiser@darmarit.de> | 2020-04-01 12:44:32 +0200 |
|---|---|---|
| committer | Markus Heiser <markus.heiser@darmarit.de> | 2020-04-01 12:44:32 +0200 |
| commit | 0a951d0e550089ec8499b87ca7077420b23ff368 (patch) | |
| tree | b72e4c24932b5dad5b7d177b30551759a44c5686 | |
| parent | a62e3c9358d4cb290d0c821fc8e79fb3a4f0830a (diff) | |
[fix] travis: Permission denied: '/home/travis/.cache/pip/...'
Change owner https://docs.travis-ci.com/user/caching/#caches-and-read-permissions
and remove old log in the *before_caching* phase:
https://docs.travis-ci.com/user/caching/#before_cache-phase
About pip cache see: https://docs.travis-ci.com/user/caching/#pip-cache
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
| -rw-r--r-- | .travis.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index c79c5c4c5..c1a9c2b21 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,9 @@ language: python cache: - directories: - $HOME/.cache/pip - +before_cache: + - sudo chown -R travis:travis $HOME/.cache/pip + - rm -f $HOME/.cache/pip/log/debug.log addons: firefox: "latest" |