sudo: false
language: go
go:
  - "1.13.x"
script:
  - go test -v ./...
  - curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s v1.22.2
  - ./bin/golangci-lint run
  - git clean -fdx .
after_success:
  curl -sL https://git.io/goreleaser | bash && goreleaser