Skip to content

Commit

Permalink
Fetch goreleaser via curl instead of 'go get' as compilation only wor…
Browse files Browse the repository at this point in the history
…ks in 1.10 (#387)
  • Loading branch information
toddpalino committed May 2, 2018
1 parent f3659d1 commit e2216d7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Expand Up @@ -49,7 +49,6 @@ before_script:
- go get honnef.co/go/tools/cmd/megacheck # Badass static analyzer/linter
- go get github.com/fzipp/gocyclo
- go get github.com/mattn/goveralls
- go get github.com/goreleaser/goreleaser

# script always run to completion (set +e). All of these code checks are must haves
# in a modern Go project.
Expand All @@ -66,4 +65,4 @@ script:
# goreleaser will run if the latest version tag matches the current commit
after_success:
- $GOPATH/bin/goveralls -coverprofile=profile.cov -service=travis-ci
- if [[ "$TRAVIS_SECURE_ENV_VARS" == true && "$TRAVIS_GO_VERSION" == "1.9.2" ]]; then docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"; goreleaser; fi
- if [[ "$TRAVIS_SECURE_ENV_VARS" == true && "$TRAVIS_GO_VERSION" == "1.9.2" ]]; then docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"; curl -sL https://git.io/goreleaser | bash; fi

0 comments on commit e2216d7

Please sign in to comment.