Skip to content
Browse files

fix copying from container

  • Loading branch information
3nids committed Mar 6, 2019
1 parent 72001ab commit 7b6943ce2dd193e623941caa763223bd3daa3a77
Showing with 2 additions and 3 deletions.
  1. +2 −3 .ci/travis/docker_image/
@@ -34,9 +34,8 @@ docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
docker push "qgis/qgis:${DOCKER_TAG}"
echo "Copy build cache from Docker container to Travis cache directory"
rm -rf "${CCACHE_DIR:?}/"*
container_id=$(docker images -q "qgis/qgis:${DOCKER_TAG}")
docker start ${container_id}
docker cp ${container_id}:/usr/src/QGIS/.ccache_image_build ${CCACHE_DIR}
docker run --name qgis_container qgis/qgis:${DOCKER_TAG}
docker cp qgis_container:/usr/src/QGIS/.ccache_image_build ${CCACHE_DIR}
echo "Trigger build of PyQGIS Documentation"

0 comments on commit 7b6943c

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