summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2020-04-01 14:49:10 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2020-04-01 14:49:10 +0200
commit9e32fb27e71ca0ae32a0eead712a0504c9d2d951 (patch)
tree48f1224132f27d68789634d2ff27d4bda5e386d5 /.travis.yml
parent9b48ae47ec837250a9a15e26f85ada33b7aa4f71 (diff)
downloadsearxng-9e32fb27e71ca0ae32a0eead712a0504c9d2d951.tar.gz
searxng-9e32fb27e71ca0ae32a0eead712a0504c9d2d951.zip
[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
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 911ca98e1..94303773d 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"