Skip to content

Commit 8bfc767

Browse files
committed
fix go list command
1 parent db8431a commit 8bfc767

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ go:
66
- "1.11.x"
77
env:
88
global:
9-
GO111MODULE='off'
9+
GO111MODULE=off
1010

1111
before_install:
1212
- go get github.com/axw/gocov/gocov
1313
- go get github.com/mattn/goveralls
1414
- if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
1515
install:
16-
- go get -u -v $(go list -f '{{join .Imports "\n"}}{{"\n"}}{{join .TestImports "\n"}}' ./... | sort | uniq | grep -v gopher-lua)
16+
- go get -u -v $(go list -f '{{join .Imports "\n"}}{{"\n"}}{{join .TestImports "\n"}}' ./... | sort | uniq | grep '\.' | grep -v gopher-lua)
1717
script:
1818
- $HOME/gopath/bin/goveralls -service=travis-ci

0 commit comments

Comments
 (0)