diff options
author | Victor Shyba <victor1984@riseup.net> | 2017-03-22 11:01:29 -0300 |
---|---|---|
committer | drebs <drebs@leap.se> | 2017-04-04 18:27:38 +0200 |
commit | 6afdfc7fbdded347eea4f333d0370322bbe29501 (patch) | |
tree | 42fbf1eca0a2c4c1fe7a4f50e4ef9226aabb6577 /.gitlab-ci.yml | |
parent | 6d26d440a278ad4cd2ed9edb3bb3e7c97a12b6e8 (diff) |
[bug] cache pip instead of tox
Caching .tox breaks when installing new dependencies. Caching pip
instead and asking tox to always recreate will ensure newer dependencies
are installed while getting existing ones from cache.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6cafdf54..f5a68f1e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,10 +3,13 @@ stages: - tests - benchmark -# Cache tox envs between builds +# Cache a folder between builds. +# Tox sets it to be our pip cache. cache: + untracked: true + key: soledad-shared-pip-cache paths: - - testing/.tox/ + - testing/.cache/ before_script: - echo "Running on ${HOST_HOSTNAME:=$(hostname)}" |