sudo: false
os: osx
language: go
go:
  - 1.8
  - master
matrix:
  allow_failures:
    - go: master
  fast_finish: true
install:
  - # Do nothing. This is needed to prevent default install action "go get -t -v ./..." from happening here (we want it to happen inside script step).
script:
  - go get -t -v ./...
  - diff -u <(echo -n) <(gofmt -d -s .)
  - go tool vet .
  - go test -v -race ./...

sudo: false
os: osx
language: go
go:
  - 1.x
  - master
matrix:
  allow_failures:
    - go: master
  fast_finish: true
install:
  - # Do nothing. This is needed to prevent default install action "go get -t -v ./..." from happening here (we want it to happen inside script step).
script:
  - go get -t -v ./...
  - diff -u <(echo -n) <(gofmt -d -s .)
  - go tool vet .
  - go test -v -race ./...

Revert "Travis: Force Go 1.8 for now."
Revert "Travis: Force Go 1.8 for now."

This reverts commit e7bfbb34054092bd5c4ab28cfcee5daaf78973a6.

Now that travis-ci/gimme#85 is resolved, this temporary workaround is
no longer needed.
