From 3e0740e194a68bd342489d9178854729662e7395 Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Tue, 17 Sep 2019 00:40:58 +0200 Subject: [PATCH] chore: add CI configuration. --- .travis.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..3e0e861 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,26 @@ +language: go + +go: + - "1.x" + +cache: + directories: + - $GOPATH/pkg/mod + +notifications: + email: + on_success: never + on_failure: change + +env: + - GO111MODULE=on + +install: + - go mod tidy + - git diff --exit-code go.mod + - git diff --exit-code go.sum + - go mod download + +script: + - make build + - make image