1
0
mirror of https://github.com/searx/searx synced 2024-12-11 19:49:33 +01:00

[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>
This commit is contained in:
Markus Heiser 2020-04-01 12:44:32 +02:00
parent a62e3c9358
commit 0a951d0e55

View File

@ -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"