language: go
go:
  - 1.3
  - 1.4
install:
  - go get golang.org/x/tools/cmd/vet
  - go get -t -v ./...
script:
  - diff -u <(echo -n) <(gofmt -d ./)
  - go tool vet ./
  - go test -v -race ./...

language: go
go:
  - 1.3
  - 1.4
install:
  - go get code.google.com/p/go.tools/cmd/vet || go get golang.org/x/tools/cmd/vet
  - go get -t -v ./...
script:
  - diff -u <(echo -n) <(gofmt -d ./)
  - go tool vet ./
  - go test -v -race ./...

Fix Travis for Go 1.3 and 1.4.
Fix Travis for Go 1.3 and 1.4.