From 7ce25249b89dad2bb74c304088b8dc6c91b1569f Mon Sep 17 00:00:00 2001 From: carla Date: Tue, 10 Dec 2019 15:12:49 +0200 Subject: [PATCH] lndmon: Add travis config --- .travis.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..411e6b1 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,23 @@ +language: go +cache: + directories: + - $GOCACHE + - $GOPATH/pkg/mod + - $GOPATH/src/github.com/golang + - $GOPATH/src/github.com/prometheus/client_golang/prometheus + +go: + - "1.13.x" + +env: + global: + - GOCACHE=$HOME/.go-build + +sudo: required + +jobs: + include: + - stage: Build + script: + - make lint + - make build