summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzheng <Zheng.chai@citrix.com>2015-06-03 03:29:46 +0100
committerzheng <Zheng.chai@citrix.com>2015-06-03 03:29:46 +0100
commitcc3cfa719881b622ea4b55e59e3c7d2f80e7ea3d (patch)
tree4f213dae793ec18af9ee0e0fc87a0ab11e40e5bb
parentfa78be4b463ee703c82c5b711520d3aa953ad846 (diff)
parent843975825dd4c07c44a82058415e4892e6b2fae3 (diff)
downloadvyos-xe-guest-utilities-cc3cfa719881b622ea4b55e59e3c7d2f80e7ea3d.tar.gz
vyos-xe-guest-utilities-cc3cfa719881b622ea4b55e59e3c7d2f80e7ea3d.zip
Merge pull request #3 from robertbreker/add-repo-basics
Add basic Travis CI configuration
-rw-r--r--.travis.yml9
-rw-r--r--README.md2
2 files changed, 11 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
diff --git a/README.md b/README.md
index ac8c91b..cac05c7 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,5 @@
+[![Build Status](https://travis-ci.org/xenserver/xe-guest-utilities.svg?branch=master)](https://travis-ci.org/xenserver/xe-guest-utilities)
+
go-guest-utilites
===================