forked from mirror/client_golang
Merge pull request #741 from prometheus/beorn7/go-requirement
Add Go 1.14
This commit is contained in:
commit
fe756993ed
|
@ -70,5 +70,9 @@ workflows:
|
|||
name: go-1-13
|
||||
go_version: "1.13"
|
||||
run_lint: true
|
||||
- test:
|
||||
name: go-1-14
|
||||
go_version: "1.14"
|
||||
run_lint: true
|
||||
# Style is only checked against the latest supported Go version.
|
||||
run_style: true
|
||||
|
|
|
@ -6,9 +6,10 @@ go:
|
|||
- 1.11.x
|
||||
- 1.12.x
|
||||
- 1.13.x
|
||||
|
||||
- 1.14.x
|
||||
|
||||
script:
|
||||
- make check_license unused test-short
|
||||
- if [[ ! $TRAVIS_GO_VERSION =~ ^1\.(9|10)\. ]]; then make lint; fi
|
||||
- if [[ ! $TRAVIS_GO_VERSION =~ ^1\.(9|10|11)\. ]]; then make lint; fi
|
||||
# Style is only checked against the latest supported Go version.
|
||||
- if [[ $TRAVIS_GO_VERSION =~ ^1\.(13)\. ]]; then make style; fi
|
||||
- if [[ $TRAVIS_GO_VERSION =~ ^1\.(14)\. ]]; then make style; fi
|
||||
|
|
Loading…
Reference in New Issue