Skip to content

Commit

Permalink
Test on Go 1.10 and 1.9
Browse files Browse the repository at this point in the history
Update our Travis configuration to test on Go 1.9 and 1.10, dropping
1.8.
  • Loading branch information
Akshay Shah committed Apr 13, 2018
1 parent 923fd9e commit e08874a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
language: go
sudo: false
go:
- 1.8
- 1.9
- 1.10
go_import_path: go.uber.org/zap
env:
global:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ PKG_FILES ?= *.go zapcore benchmarks buffer zapgrpc zaptest zaptest/observer int
# stable release.
GO_VERSION := $(shell go version | cut -d " " -f 3)
GO_MINOR_VERSION := $(word 2,$(subst ., ,$(GO_VERSION)))
LINTABLE_MINOR_VERSIONS := 9
LINTABLE_MINOR_VERSIONS := 10
ifneq ($(filter $(LINTABLE_MINOR_VERSIONS),$(GO_MINOR_VERSION)),)
SHOULD_LINT := true
endif
Expand Down

0 comments on commit e08874a

Please sign in to comment.