From 3cd3b864676a2c9b6523e896b8328a539d0abdc1 Mon Sep 17 00:00:00 2001 From: "Y.Horie" Date: Thu, 5 Sep 2019 16:46:41 +0900 Subject: [PATCH 1/2] 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..ae6ef17 --- /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 golang.org/x/lint/golint + +script: + - go build + - go vet + - golint From 29bb97293fffca910f03bee61fa7f510240af5d5 Mon Sep 17 00:00:00 2001 From: "Y.Horie" Date: Fri, 6 Sep 2019 23:25:41 +0900 Subject: [PATCH 2/2] Add travis-ci badge in readme #6 --- readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/readme.md b/readme.md index 09e740b..eae9474 100644 --- a/readme.md +++ b/readme.md @@ -1,5 +1,6 @@ # gcloud client [![Go Report Card](https://goreportcard.com/badge/github.com/devdinu/gcloud-client)](https://goreportcard.com/report/github.com/devdinu/gcloud-client) +[![Build Status](https://travis-ci.com/devdinu/gcloud-client.svg?branch=master)](https://travis-ci.com/devdinu/gcloud-client) scripts to do things which you wish google console client does.