diff --git a/.drone.yml b/.drone.yml index 808dd924cf..d1f546ba75 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: [ dpd_user_id, dpd_password ] commands: + - echo -e "[repositories]\nhgext.share =\n[share]\npool = /root/.hgcache\n" >> /root/.hgrc - pip install tox - tox -e "${TOXENV}-${DATABASE}" volumes: