Add Go 1.11.

Since the staticcheck support for older Go versions will disappear,
update the exclusion regexp.

Signed-off-by: beorn7 <beorn@soundcloud.com>
This commit is contained in:
beorn7 2018-09-19 12:24:24 +02:00
parent e637cec7d9
commit 2c6e80549e
1 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,8 @@ go:
- 1.8.x
- 1.9.x
- 1.10.x
- 1.11.x
script:
- make check_license style unused test-short
- if [[ ! $TRAVIS_GO_VERSION =~ ^1\.(7|8)\.[x0-9]+$ ]]; then make staticcheck; fi
- if [[ ! $TRAVIS_GO_VERSION =~ ^1\.(7|8|9)\.[x0-9]+$ ]]; then make staticcheck; fi