Make lint only run on 1.11 and higher
Signed-off-by: beorn7 <beorn@grafana.com>
This commit is contained in:
parent
ff1d4e21c1
commit
6bcb2c8adf
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue