Skip to content
Browse files

fix mkdir ccache_dir

  • Loading branch information
3nids committed Mar 5, 2019
1 parent 241c642 commit d18603ddd9220d027d922ebd927986264dda67f5
Showing with 2 additions and 2 deletions.
  1. +2 −2 .ci/travis/linux/
@@ -16,7 +16,7 @@

set -e

mkdir -p "$CCACHE_DIR"

if [[ ${DOCKER_BUILD_QGIS_IMAGE} =~ true ]]; then
# copy ccache dir within QGIS source so it can be accessed from docker
@@ -33,7 +33,7 @@ if [[ ${DOCKER_BUILD_QGIS_IMAGE} =~ true ]]; then
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_IMAGE_BUILD:?}/"*
container_id=$(docker images -q "qgis/qgis:${DOCKER_TAG}")
docker cp ${container_id}:/usr/src/QGIS/.ccache_image_build ${CCACHE_DIR_IMAGE_BUILD}

0 comments on commit d18603d

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