bump golang versions in travis ci

This commit is contained in:
David Bariod 2020-11-06 13:13:37 +01:00
parent d131c24e23
commit 0d28e29335
2 changed files with 3 additions and 1 deletions

View File

@ -4,7 +4,7 @@ git:
depth: 1
env:
- GO111MODULE=on
go: [1.13.x, 1.14.x]
go: [1.14.x, 1.15.x]
os: [linux, osx]
install:
- ./travis/install.sh

View File

@ -2,4 +2,6 @@
if [[ "$TRAVIS_GO_VERSION" =~ ^1\.13\. ]] && [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$GO111MODULE" == "on" ]]; then
$(go env GOPATH)/bin/golangci-lint run ./...
else
echo "linter has not been run"
fi