Skip to content
This repository has been archived by the owner on Jan 2, 2025. It is now read-only.

Commit

Permalink
chore(travis): support Go version from 1.11
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabien Thouraud committed Apr 29, 2020
1 parent 67a7fe9 commit 287aa6b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
language: go
go:
- 1.8.x
- 1.9.x
- 1.10.x
- 1.11.x
- 1.12.x
- 1.13.x
- master

before_install:
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SHELL := $(shell which bash) # set default shell
SHELL := $(shell which bash)
GOFMT ?= gofmt "-s"
PACKAGES ?= $(shell go list ./... | grep -v /vendor/)
GOFILES := $(shell find . -name "*.go" -type f -not -path "./vendor/*")
Expand All @@ -19,9 +19,9 @@ help: ## Show Help
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'

dep: ## Get build dependencies
go get -v -u github.com/golang/dep/cmd/dep; \
go get github.com/mitchellh/gox; \
go get github.com/mattn/goveralls;
go get github.com/mattn/goveralls; \
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh

lint: ## lint the code
@hash golint > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
Expand Down

0 comments on commit 287aa6b

Please sign in to comment.