sudo: false

language: go

go:
  - 1.7
  - tip

matrix:
  allow_failures:
    - go: tip
  fast_finish: true

script:
  - go fmt
  - go vet
  - go test -v -race

sudo: false

language: go

go:
  - 1.7
  - tip

matrix:
  allow_failures:
    - go: tip
  fast_finish: true

script:
  - test -z "$(gofmt -s -l $(find . -name '*.go' -type f -print) | tee /dev/stderr)"
  - go vet
  - go test -v ./...
  - go test -race -v ./...

Verify if source is formatted, don't format it before the tests duh
Verify if source is formatted, don't format it before the tests duh
