From a8909dc65f140b8a0b4e31a49216d7c38c81b9dd Mon Sep 17 00:00:00 2001 From: Josh Ellithorpe Date: Thu, 21 Mar 2019 11:17:44 -0700 Subject: [PATCH] Fix travis config for Go 1.11.5 --- .travis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5f9ab77f8..2ba805a01 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,7 +23,7 @@ script: - ./goclean.sh after_script: - - if [ "$TRAVIS_GO_VERSION" = "1.11.1" ] && [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$TRAVIS_TAG" != "" ]; then go get github.com/inconshreveable/mousetrap; fi - - if [ "$TRAVIS_GO_VERSION" = "1.11.1" ] && [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$TRAVIS_TAG" != "" ]; then go get github.com/mitchellh/gox; fi - - if [ "$TRAVIS_GO_VERSION" = "1.11.1" ] && [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$TRAVIS_TAG" != "" ]; then go get github.com/tcnksm/ghr; fi - - if [ "$TRAVIS_GO_VERSION" = "1.11.1" ] && [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$TRAVIS_TAG" != "" ]; then make compile; ghr --username gcash --token $GITHUB_TOKEN --replace $TRAVIS_TAG pkg/; fi + - if [ "$TRAVIS_GO_VERSION" = "1.11.5" ] && [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$TRAVIS_TAG" != "" ]; then go get github.com/inconshreveable/mousetrap; fi + - if [ "$TRAVIS_GO_VERSION" = "1.11.5" ] && [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$TRAVIS_TAG" != "" ]; then go get github.com/mitchellh/gox; fi + - if [ "$TRAVIS_GO_VERSION" = "1.11.5" ] && [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$TRAVIS_TAG" != "" ]; then go get github.com/tcnksm/ghr; fi + - if [ "$TRAVIS_GO_VERSION" = "1.11.5" ] && [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$TRAVIS_TAG" != "" ]; then make compile; ghr --username gcash --token $GITHUB_TOKEN --replace $TRAVIS_TAG pkg/; fi