File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -18,14 +18,8 @@ set -e
18
18
19
19
pushd .docker
20
20
21
- source $( git rev-parse --show-toplevel) /.ci/travis/scripts/travis_envvar_helper.sh
22
-
23
-
24
21
DOCKER_DEPS_PUSH=$( [[ $TRAVIS_REPO_SLUG =~ qgis/QGIS ]] && [[ $TRAVIS_EVENT_TYPE =~ push ]] && echo " true" || echo " false" )
25
22
DOCKER_DEPS_IMAGE_REBUILD=$( [[ $TRAVIS_COMMIT_MESSAGE =~ ' [docker] update dependencies' ]] && echo " true" || echo " false" )
26
- # on cron job, QGIS image is built and push without testing
27
- DOCKER_QGIS_IMAGE_BUILD_PUSH=$( create_qgis_image)
28
-
29
23
30
24
echo " travis_fold:start:travis_env"
31
25
echo " ${bold} Travis environment variables${endbold} "
Original file line number Diff line number Diff line change 16
16
17
17
set -e
18
18
19
- source $( git rev-parse --show-toplevel) /.ci/travis/scripts/travis_envvar_helper.sh
20
-
21
- DOCKER_QGIS_IMAGE_BUILD_PUSH=$( create_qgis_image)
22
-
23
19
mkdir -p " $CCACHE_DIR "
24
20
25
21
if [[ DOCKER_BUILD_QGIS_IMAGE =~ true ]]; then
22
+ # building docker images
26
23
DIR=$( git rev-parse --show-toplevel) /.docker
27
24
pushd " ${DIR} "
28
25
echo " ${bold} Building QGIS Docker image '${DOCKER_TAG} '...${endbold} "
@@ -36,5 +33,6 @@ if [[ DOCKER_BUILD_QGIS_IMAGE =~ true ]]; then
36
33
docker push " qgis/qgis:${DOCKER_TAG} "
37
34
popd
38
35
else
36
+ # running tests
39
37
docker-compose -f " ${DOCKER_COMPOSE} " run --rm qgis-deps
40
38
fi
You can’t perform that action at this time.
0 commit comments