language: go

go:
  - 1.5
  - 1.6
  - tip

install:
  - go get github.com/Masterminds/glide
  - ${GOPATH}/bin/glide install

allow_failures:
  - go: tip

script:
  - go build
  - go test -v ./
  - "! gofmt -l $(find . -path ./vendor -prune -o -name '*.go' -print) | read nothing"

env:
  - "GO15VENDOREXPERIMENT=1"

language: go

go:
  - 1.5
  - 1.6
  - tip

install:
  - go get github.com/Masterminds/glide
  - ${GOPATH}/bin/glide install

allow_failures:
  - go: tip

script:
  - go build
  - go test -v ./
  - "GOFMT_FAILS=$(gofmt -l $(find . -path ./vendor -prune -o -name '*.go' -print))"
  - "echo ${GOFMT_FAILS}"
  - "test $(echo \"${GOFMT_FAILS}\" | wc -l) -gt 0"

env:
  - "GO15VENDOREXPERIMENT=1"

Fix gofmt test pt. 2
Fix gofmt test pt. 2
