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 test -v ./...
  - "GOFMT_FAILS=$(gofmt -l $(find . -path ./vendor -prune -o -name '*.go' -print))"
  - "echo -e ${GOFMT_FAILS}"
  - "#test $(echo -en \"${GOFMT_FAILS}\" | wc -l) -eq 0"

env:
  - "GO15VENDOREXPERIMENT=1"

language: go

go:
  - 1.5
  - 1.6
  - tip

install:
  - "git clone git@github.com:kayatra/helpers.git ${GOPATH}/helpers"
  - "${GOPATH}/helpers/scripts/glide-setup.sh"

allow_failures:
  - go: tip

script:
  - "${GOPATH}/helpers/scripts/go-test.sh"

env:
  - "GO15VENDOREXPERIMENT=1"

Use helper scripts for test
Use helper scripts for test
