language: go

go:
  - master

after_success:
  test -n "$TRAVIS_TAG" && curl -s https://raw.githubusercontent.com/goreleaser/get/master/latest | bash

language: go

go:
  - master
  
after_success:
  - test -n "$TRAVIS_TAG" && curl -sL https://git.io/goreleaser | bash

Update for goreleaser latest sample
Update for goreleaser latest sample