language: go

sudo: false

go:
  - "1.7.x"
  - "1.8.x"
  - "1.9.x"
  - "1.10.x"
  - "1.11.x"

before_install:
  - go get -t ./...

script:
  - GOMAXPROCS=4 GORACE="halt_on_error=1" go test -race -v ./...
