From 8a3bc39594876d8c48d5627debad3a1356cbddd7 Mon Sep 17 00:00:00 2001 From: at15 Date: Thu, 30 Aug 2018 20:03:08 -0700 Subject: [PATCH] [test] Add go1.11 to travis.yml --- .travis.yml | 3 ++- Makefile | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index e747aa5..e726452 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,7 @@ git: go: - 1.9.x - "1.10" + - "1.11" - tip install: @@ -15,5 +16,5 @@ install: script: - make install - make test - + - make build # TODO: code coverage \ No newline at end of file diff --git a/Makefile b/Makefile index a3adca5..a1f71b4 100644 --- a/Makefile +++ b/Makefile @@ -61,19 +61,19 @@ generate: build: build-linux build-mac build-windows build-linux: - rm -f ayi-v$(VERSION)-linux-amd64 + rm -f ayi-v$(VERSION)-linux-amd64.zip $(GO_LINUX_BUILD) go build -ldflags "$(FLAGS)" -o ayi-v$(VERSION)-linux-amd64 ./cmd/ayi zip ayi-v$(VERSION)-linux-amd64.zip ayi-v$(VERSION)-linux-amd64 # rm ayi-v$(VERSION)-linux-amd64 build-mac: - rm -f ayi-v$(VERSION)-darwin-amd64 + rm -f ayi-v$(VERSION)-darwin-amd64.zip $(GO_MAC_BUILD) go build -ldflags "$(FLAGS)" -o ayi-v$(VERSION)-darwin-amd64 ./cmd/ayi zip ayi-v$(VERSION)-darwin-amd64.zip ayi-v$(VERSION)-darwin-amd64 # rm ayi-v$(VERSION)-darwin-amd64 build-windows: - rm -f ayi-v$(VERSION)-windows-amd64 + rm -f ayi-v$(VERSION)-windows-amd64.zip $(GO_WINDOWS_BUILD) go build -ldflags "$(FLAGS)" -o ayi-v$(VERSION)-windows-amd64 ./cmd/ayi zip ayi-v$(VERSION)-windows-amd64.zip ayi-v$(VERSION)-windows-amd64 # rm ayi-v$(VERSION)-windows-amd64