language: go

go:
  - 1.9

install:
  - go get -u golang.org/x/lint/golint

script:
  - make test

deploy:
  - provider: script
    skip_cleanup: true
    script: curl -sL https://git.io/goreleaser | bash
    on:
      tags: true