mirror of https://github.com/sirupsen/logrus.git
bump golang versions in travis ci
This commit is contained in:
parent
d131c24e23
commit
0d28e29335
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue