Skip to content

Commit

Permalink
Merge pull request #30 from anguslees/master
Browse files Browse the repository at this point in the history
travis: fix TRAVIS_GO_VERSION handling
  • Loading branch information
anguslees authored Jul 11, 2017
2 parents 5903102 + 6e05837 commit 1349109
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
language: go

go:
- 1.7
- 1.8
- '1.7'
- '1.8'

services:
- docker
Expand Down Expand Up @@ -49,7 +49,7 @@ after_success:
if [[ "$TRAVIS_OS_NAME" == linux && \
"$TRAVIS_BRANCH" == master && \
"$TRAVIS_PULL_REQUEST" == false && \
"$TRAVIS_GO_VERSION" == 1.8 ]]; then
"$TRAVIS_GO_VERSION.0" =~ ^1\.8\. ]]; then
echo "Pushing :latest..."
docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" quay.io
docker tag $CONTROLLER_IMAGE ${CONTROLLER_IMAGE_NAME}:latest
Expand All @@ -71,7 +71,7 @@ deploy:
- controller.yaml
- controller-norbac.yaml
on:
go: 1.8
go: '1.8'
tags: true
provider: releases
skip_cleanup: true
Expand Down

0 comments on commit 1349109

Please sign in to comment.