Navigation Menu

Skip to content

Commit

Permalink
fix copying from container
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Mar 5, 2019
1 parent c74dda0 commit 5d61b66
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .ci/travis/docker_image/script.sh
Expand Up @@ -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='{
Expand Down

0 comments on commit 5d61b66

Please sign in to comment.