How to use conda cache in bitbucket pipeline

0 views
Skip to first unread message

David Michael Gang

unread,
Dec 14, 2017, 1:12:31 PM12/14/17
to conda - Public
Hi,

I want to use caches in bitbucket pipelines to speed up my build:
https://confluence.atlassian.com/bitbucket/caching-dependencies-895552876.html

I use conda as a package manager.
Is it possible to use the pip cache?
If not how should i configure the conda cache

Thanks


The bitbucket pipeline i have is

# This is a sample build configuration for Python.
# Check our guides at https://confluence.atlassian.com/x/x4UWN for more examples.
# Only use spaces to indent your .yml configuration.
# -----
# You can specify a custom docker image from Docker Hub as your build environment.
image: continuumio/miniconda3:latest

pipelines:
default:
- step:
script: # Modify the commands below to build your repository.
- conda env update -n root --file environment.yml
- coverage run --source=predictor -m unittest discover
- coverage report -m

Reply all
Reply to author
Forward
0 new messages