language: go
go:
  # Test with the first and the latest go release - to ensure compatibility
  - 1
  - release

language: go
go:
  # Test with the first and the latest go release - to ensure compatibility
  - 1
  - release
script:
  - gofmtresult=$(gofmt -s -l .); if [[ -n $gofmtresult ]]; then echo -e "Please run \"gofmt -s -w .\" before committing for the below:\n$gofmtresult"; false; fi

Add check for gofmt to Travis CI
Add check for gofmt to Travis CI

Signed-off-by: Robert Breker <bfcd7039ca4b92386f0756a1d5e67ea4ff23cfe0@citrix.com>
