Skip to content

Commit

Permalink
[test] Add go1.11 to travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
at15 committed Aug 31, 2018
1 parent 2970cf9 commit 8a3bc39
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ git:
go:
- 1.9.x
- "1.10"
- "1.11"
- tip

install:
Expand All @@ -15,5 +16,5 @@ install:
script:
- make install
- make test

- make build
# TODO: code coverage
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8a3bc39

Please sign in to comment.