language: go
go:
  - 1.x
  - 1.9.x
  - 1.8.x
  - 1.7.x
  - 1.6.x

sudo: false

before_install:
  - git config --global url."https://".insteadOf git://
  - go get -u github.com/golang/lint/golint
  - mkdir -p $GOPATH/src/github.com/emojisum && ln -sf $(pwd) $GOPATH/src/github.com/emojisum/emojisum
  - go get -d ./...

install: true

script:
  - go vet ./...
  - golint -set_exit_status ./...
  - go test -v ./...
  - go build .
