From 2f5b2ff74c6d6f354c4bc3e1289163793c03de7e Mon Sep 17 00:00:00 2001 From: Martin Strobel Date: Tue, 24 Apr 2018 12:13:15 -0700 Subject: [PATCH] Adding Travis configuration. --- .travis.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..645a47f --- /dev/null +++ b/.travis.yml @@ -0,0 +1,16 @@ +language: go + +go: + - "1.9" + - 1.10.x + - master + +matrix: + allow_failures: + - go: master + +script: + - go build ./... + - go test ./... + - test -z "$(go fmt ./... | tee /dev/stderr)" + - go vet ./...