sudo: false

language: go

go:
 - 1.3.3
 - 1.4.2
 - 1.5.2
 - 1.6beta2

# Get deps, build, test, and ensure the code is gofmt'ed.
script:
 - go test -v ./...
 - diff <(gofmt -d .) <("")