Skip to content

Commit d131a57

Browse files
committedNov 16, 2018
remove left over
1 parent cb00a2a commit d131a57

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed
 

‎.ci/travis/linux/before_script.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,8 @@ set -e
1818

1919
pushd .docker
2020

21-
source $(git rev-parse --show-toplevel)/.ci/travis/scripts/travis_envvar_helper.sh
22-
23-
2421
DOCKER_DEPS_PUSH=$( [[ $TRAVIS_REPO_SLUG =~ qgis/QGIS ]] && [[ $TRAVIS_EVENT_TYPE =~ push ]] && echo "true" || echo "false" )
2522
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-
2923

3024
echo "travis_fold:start:travis_env"
3125
echo "${bold}Travis environment variables${endbold}"

‎.ci/travis/linux/script.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,10 @@
1616

1717
set -e
1818

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-
2319
mkdir -p "$CCACHE_DIR"
2420

2521
if [[ DOCKER_BUILD_QGIS_IMAGE =~ true ]]; then
22+
# building docker images
2623
DIR=$(git rev-parse --show-toplevel)/.docker
2724
pushd "${DIR}"
2825
echo "${bold}Building QGIS Docker image '${DOCKER_TAG}'...${endbold}"
@@ -36,5 +33,6 @@ if [[ DOCKER_BUILD_QGIS_IMAGE =~ true ]]; then
3633
docker push "qgis/qgis:${DOCKER_TAG}"
3734
popd
3835
else
36+
# running tests
3937
docker-compose -f "${DOCKER_COMPOSE}" run --rm qgis-deps
4038
fi

0 commit comments

Comments
 (0)
Please sign in to comment.