diff --git a/.drone.yml b/.drone.yml index 75a5c99402..c8a79f32c1 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,6 +1,10 @@ clone: hg: image: plugins/hg + environment: + - HG_SHARE_POOL=/root/.cache/hg + volumes: + - cache:/root/.cache pipeline: tox: @@ -12,6 +16,7 @@ pipeline: - POSTGRESQL_URI=postgresql://postgres@postgresql:5432/ secrets: [ stripe_secret_key, stripe_publishable_key ] commands: + - echo -e "[repositories]\nhgext.share =\n[share]\npool = /root/.hgcache\n" >> /root/.hgrc - pip install tox - tox -e "${TOXENV}-${DATABASE}" volumes: