Skip to content

Commit 6bcb2c8

Browse files
committed
Make lint only run on 1.11 and higher
Signed-off-by: beorn7 <[email protected]>
1 parent ff1d4e2 commit 6bcb2c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ go:
88

99
script:
1010
- make check_license unused test-short
11-
- if [[ ! $TRAVIS_GO_VERSION =~ ^1\.9\.[x0-9]+$ ]]; then make lint; fi
11+
- if [[ ! $TRAVIS_GO_VERSION =~ ^1\.(9|10)\. ]]; then make lint; fi
1212
# Style is only checked against the latest supported Go version.
1313
- if [[ $TRAVIS_GO_VERSION =~ ^1\.(12)\. ]]; then make style; fi

0 commit comments

Comments
 (0)