From 675065c0b8c11a8123d1e190854e15781b3da287 Mon Sep 17 00:00:00 2001 From: "Y.Horie" Date: Thu, 5 Sep 2019 16:46:41 +0900 Subject: [PATCH] Add test and lint on .travis.yml #6 --- .travis.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..e9378ef --- /dev/null +++ b/.travis.yml @@ -0,0 +1,21 @@ +language: go + +go: + - "1.12" + +os: + - linux + - osx + +env: + global: + - env GO111MODULE=on + +go_import_path: github.com/devdinu/gcloud-client + +before_script: go get -u github.com/golang/lint/golint + +script: + - go build + - go vet + - golint