Skip to content
This repository has been archived by the owner on Dec 16, 2020. It is now read-only.

Commit

Permalink
Fix .travis.yml to address "Could not parse .travis.yml" message
Browse files Browse the repository at this point in the history
The travis build stopped working on 26/03.  There were 3 commits on this day.
The first two saw the build run green, it was after the third that the error
message of "Could not parse .travis.yml" was observed.  The line added in the
3rd commit on this day was to echo the $TRAVIS_TAG.  This line is linting as
it breaks the yaml format.

Offending line removed to regress to previous working state

Signed-off-by: rgee0 <[email protected]>
  • Loading branch information
rgee0 authored and alexellis committed Jun 15, 2018
1 parent c3adcd2 commit 029688a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ after_success:
fi
- if [ ! -z "$TRAVIS_TAG" ] ; then

echo "Travis tag: $TRAVIS_TAG"

docker tag $DOCKER_NS/faas-swarm:latest-dev $DOCKER_NS/faas-swarm:$TRAVIS_TAG;
echo $DOCKER_PASSWORD | docker login -u=$DOCKER_USERNAME --password-stdin;
docker push $DOCKER_NS/faas-swarm:$TRAVIS_TAG;
Expand All @@ -30,3 +28,4 @@ after_success:
docker push quay.io/$DOCKER_NS/faas-swarm:$TRAVIS_TAG;

fi

0 comments on commit 029688a

Please sign in to comment.