Make lint only run on 1.11 and higher

Signed-off-by: beorn7 <beorn@grafana.com>
This commit is contained in:
beorn7 2019-07-22 15:45:59 +02:00
parent ff1d4e21c1
commit 6bcb2c8adf
1 changed files with 1 additions and 1 deletions

View File

@ -8,6 +8,6 @@ go:
script: script:
- make check_license unused test-short - make check_license unused test-short
- if [[ ! $TRAVIS_GO_VERSION =~ ^1\.9\.[x0-9]+$ ]]; then make lint; fi - if [[ ! $TRAVIS_GO_VERSION =~ ^1\.(9|10)\. ]]; 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\.(12)\. ]]; then make style; fi - if [[ $TRAVIS_GO_VERSION =~ ^1\.(12)\. ]]; then make style; fi