1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-23 04:27:46 +01:00

[fix] travis: Permission denied: '/home/travis/.cache/pip/...'

Fix "Permission denied: '/home/travis/.cache/" errors from travis build [1].

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>

[1] https://travis-ci.org/github/asciimoo/searx/jobs/669664131#L220
This commit is contained in:
Markus Heiser 2020-04-01 14:49:10 +02:00
parent 9b48ae47ec
commit 9e32fb27e7

View File

@ -5,7 +5,9 @@ language: python
cache: cache:
- directories: - directories:
- $HOME/.cache/pip - $HOME/.cache/pip
before_cache:
- sudo chown -R travis:travis $HOME/.cache/pip
- rm -f $HOME/.cache/pip/log/debug.log
addons: addons:
firefox: "latest" firefox: "latest"