Merge pull request #741 from prometheus/beorn7/go-requirement

Add Go 1.14
This commit is contained in:
Björn Rabenstein 2020-04-23 18:16:16 +02:00 committed by GitHub
commit fe756993ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 3 deletions

View File

@ -70,5 +70,9 @@ workflows:
name: go-1-13 name: go-1-13
go_version: "1.13" go_version: "1.13"
run_lint: true 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. # Style is only checked against the latest supported Go version.
run_style: true run_style: true

View File

@ -6,9 +6,10 @@ go:
- 1.11.x - 1.11.x
- 1.12.x - 1.12.x
- 1.13.x - 1.13.x
- 1.14.x
script: script:
- make check_license unused test-short - 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. # 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