From 58f81d570cb58af88a51662836a64d3de29668e4 Mon Sep 17 00:00:00 2001
From: Mark Driver <mdd31@alumni.cam.ac.uk>
Date: Fri, 24 Jan 2020 16:29:58 +0000
Subject: [PATCH] update to add conda cache.

---
 bitbucket-pipelines.yml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml
index dc45f1c..c57d8b7 100644
--- a/bitbucket-pipelines.yml
+++ b/bitbucket-pipelines.yml
@@ -8,6 +8,8 @@ image: continuumio/anaconda:latest
 pipelines:
   default:
     - step:
+        caches:
+          - condacache
         script: # Modify the commands below to build your repository.
           - apt-get update -y && apt-get -y install libgl1-mesa-glx
           - conda update -y conda
@@ -43,3 +45,7 @@ pipelines:
           - cd ../build
           - pip install .
           - pytest phasecalculator/test/*test/*test.py
+
+definitions:
+  caches:
+    condacache: "${CI_PROJECT_DIR}/conda/pkgs"
-- 
GitLab