Add Go 1.14

Signed-off-by: beorn7 <beorn@grafana.com>
This commit is contained in:
beorn7 2020-04-23 17:19:33 +02:00
parent 4e3a96e781
commit 7bbc897b25
2 changed files with 8 additions and 3 deletions

View File

@ -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

View File

@ -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