summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..9a30af2
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,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