summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 9a30af23813b0a1894021013780a690a1842bdf4 (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
  - 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