Skip to content
Browse files

create CCACHE dir

  • Loading branch information
3nids committed Mar 6, 2019
1 parent 68ee39a commit bda4620b8879d3af756d510a209106b9f0dfecd8
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 bda4620

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