Skip to content
This repository was archived by the owner on Dec 5, 2023. It is now read-only.

Commit 4b0dbba

Browse files
Quote variables when interpolated
1 parent 559f88b commit 4b0dbba

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ before_install:
1313
- make test-image deps
1414

1515
env:
16-
- GROUP=${FORK-:weaveworksdemos} COMMIT=$TRAVIS_COMMIT TAG=$TRAVIS_TAG REPO=front-end;
16+
- GROUP="${FORK-:weaveworksdemos}" COMMIT="${TRAVIS_COMMIT}" TAG="${TRAVIS_TAG}" REPO=front-end;
1717

1818
script:
1919
- make test
2020

2121
after_success:
2222
- set -e
23-
- if [ -z "$DOCKER_PASS" ]; then echo "Build triggered by external PR. Skipping docker push" && exit 0; fi
24-
- docker login -u $DOCKER_USER -p $DOCKER_PASS;
23+
- if [ -z "${DOCKER_PASS}" ]; then echo "Build triggered by external PR. Skipping docker push" && exit 0; fi
24+
- docker login -u "${DOCKER_USER}" -p "${DOCKER_PASS}";
2525
- ./scripts/build.sh
2626
- ./test/container.sh
2727
- ./scripts/push.sh

0 commit comments

Comments
 (0)