From bb3648c5394e1af6bfa32f382f033b886f58e6e6 Mon Sep 17 00:00:00 2001 From: David Martin Date: Mon, 8 Aug 2016 16:08:25 +0100 Subject: [PATCH] Add initial .travis.yml --- .travis.yml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..193d003 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,9 @@ + +language: go +go: + - tip + +script: + - gofmt -d -s $(find . -name '*.go') + - test -z "$(gofmt -d -s $(find . -name '*.go'))" + - go test