From d924a6d126161a9798e454540684f161803d8d5f Mon Sep 17 00:00:00 2001 From: Umputun Date: Mon, 7 Oct 2019 00:43:43 -0500 Subject: [PATCH] update lint version --- .travis.yml | 11 +++++------ go.mod | 2 +- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 65085ab..5044b25 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,21 +1,20 @@ language: go go: - - "1.12.x" + - "1.13.x" install: true before_install: - export TZ=America/Chicago - - curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $(go env GOPATH)/bin v1.17.1 + - curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $(go env GOPATH)/bin v1.19.1 - golangci-lint --version - go get github.com/mattn/goveralls - export PATH=$(pwd)/bin:$PATH script: - - GO111MODULE=on go get ./... - - GO111MODULE=on go mod vendor - - GO111MODULE=on go test -v -mod=vendor -covermode=count -coverprofile=profile.cov ./... || travis_terminate 1; - - GO111MODULE=on go test -v -covermode=count -coverprofile=profile.cov ./... || travis_terminate 1; + - export GO111MODULE=on + - go get ./... + - go test -v -covermode=count -coverprofile=profile.cov ./... || travis_terminate 1; - golangci-lint run || travis_terminate 1; - $GOPATH/bin/goveralls -coverprofile=profile.cov -service=travis-ci diff --git a/go.mod b/go.mod index 3488d7b..bb09ac2 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,5 @@ module github.com/go-pkgz/repeater -go 1.12 +go 1.13 require github.com/stretchr/testify v1.3.0