language: go

sudo: false

os:
  - linux
  - osx  
go:
  - 1.11.x
  - 1.12.x
  - 1.13.x
  - master

script: 
 - go vet ./...
 - go test -v ./...
 - go test -race ./...
 - diff <(gofmt -d .) <("") 

matrix:
  allow_failures:
    - go: 'master'
  fast_finish: true 
