Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[travis] fold docker information
- Loading branch information
Showing
with
2 additions
and
0 deletions.
-
+2
−0
.ci/travis/linux/before_script.sh
|
@@ -17,12 +17,14 @@ set -e |
|
|
|
|
|
pushd .docker |
|
|
|
|
|
echo "travis_fold:start:docker" |
|
|
docker --version |
|
|
docker-compose --version |
|
|
docker-compose -f $DOCKER_COMPOSE config |
|
|
#docker pull ubuntu:16.04 |
|
|
docker pull "qgis/qgis3-build-deps:${DOCKER_TAG}" || true |
|
|
docker build --cache-from "qgis/qgis3-build-deps:${DOCKER_TAG}" -t "qgis/qgis3-build-deps:${DOCKER_TAG}" . |
|
|
echo "travis_fold:end:docker" |
|
|
# image should be pushed even if QGIS build fails |
|
|
# but push is achieved only on branches (not for PRs) |
|
|
if [[ $DOCKER_PUSH =~ true ]]; then |
|
|