Skip to content

Commit c102f09

Browse files
Merge pull request #968 from wking/bump-go
.travis: Bump minimum Go version to 1.9
2 parents a1998ec + 9e459a6 commit c102f09

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
language: go
22
go:
3-
- 1.7
4-
- 1.6.3
5-
- 1.5.4
3+
- "1.10.x"
4+
- "1.9.x"
65

76
sudo: required
87

@@ -12,6 +11,7 @@ services:
1211
before_install:
1312
- make install.tools
1413
- docker pull vbatts/pandoc
14+
- go get -d ./schema/...
1515

1616
install: true
1717

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ test: .govet .golint .gitvalidation
6262

6363
# `go get github.com/golang/lint/golint`
6464
.golint:
65-
ifeq ($(call ALLOWED_GO_VERSION,1.6,$(HOST_GOLANG_VERSION)),true)
65+
ifeq ($(call ALLOWED_GO_VERSION,1.7,$(HOST_GOLANG_VERSION)),true)
6666
@which golint > /dev/null 2>/dev/null || (echo "ERROR: golint not found. Consider 'make install.tools' target" && false)
6767
golint ./...
6868
endif
@@ -79,9 +79,9 @@ endif
7979

8080
install.tools: .install.golint .install.gitvalidation
8181

82-
# golint does not even build for <go1.6
82+
# golint does not even build for <go1.7
8383
.install.golint:
84-
ifeq ($(call ALLOWED_GO_VERSION,1.6,$(HOST_GOLANG_VERSION)),true)
84+
ifeq ($(call ALLOWED_GO_VERSION,1.7,$(HOST_GOLANG_VERSION)),true)
8585
go get -u github.com/golang/lint/golint
8686
endif
8787

0 commit comments

Comments
 (0)