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

