Skip to content
Permalink
Browse files

fix copying from container

  • Loading branch information
3nids committed Mar 5, 2019
1 parent c74dda0 commit 5d61b66762ed2f1da301516247ecbe864439cb5b
Showing with 2 additions and 3 deletions.
  1. +2 −3 .ci/travis/docker_image/script.sh
@@ -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}
popd
echo "Trigger build of PyQGIS Documentation"
body='{

0 comments on commit 5d61b66

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