summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 86d7b393f551d9767ff6c196e39a7721818cd7eb (plain)
1
2
3
4
5
6
7
8
9
language: go
sudo: false
go:
  # Used for building XenServer Dundee
  - 1.4.2
  # Forwards compatibility
  - tip
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