Skip to content
Browse files

create CCACHE dir

  • Loading branch information
3nids committed Mar 6, 2019
1 parent 5f0e198 commit 17b840573cb6ad019a9622283134552b7c79a5c9
Showing with 3 additions and 2 deletions.
  1. +1 −1 .ci/travis/docker_image/
  2. +2 −1 .docker/qgis.dockerfile
@@ -35,7 +35,7 @@ docker push "qgis/qgis:${DOCKER_TAG}"
echo "Copy build cache from Docker container to Travis cache directory"
rm -rf "${CCACHE_DIR:?}/"*
docker run --name qgis_container qgis/qgis:${DOCKER_TAG} /bin/true
docker cp qgis_container:/usr/src/QGIS/.ccache_image_build ${CCACHE_DIR}
docker cp qgis_container:/usr/src/.ccache_image_build ${CCACHE_DIR}
docker rm qgis_container
echo "Trigger build of PyQGIS Documentation"
@@ -17,7 +17,8 @@ ENV LANG=C.UTF-8
COPY . /usr/src/QGIS

# If this directory is changed, also adapt which copies the directory
ENV CCACHE_DIR=/usr/src/QGIS/.ccache_image_build
RUN mkdir -p /usr/src/.ccache_image_build
ENV CCACHE_DIR=/usr/src/.ccache_image_build
RUN ccache -M 1G
RUN ccache -s

0 comments on commit 17b8405

Please sign in to comment.
You can’t perform that action at this time.