Remove vendor directory and enable go modules
This commit is contained in:
parent
14acc186f0
commit
93bf818214
7 changed files with 13 additions and 32 deletions
|
|
@ -28,11 +28,5 @@ if [ -z "${PKG}" ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
# enabled to use host dns resolver
|
||||
export CGO_ENABLED=1
|
||||
export GODEBUG=netdns=cgo+2
|
||||
# use vendor directory instead of go modules https://github.com/golang/go/wiki/Modules
|
||||
export GO111MODULE=off
|
||||
|
||||
go test -v \
|
||||
$(go list "${PKG}/..." | grep -v vendor | grep -v '/test/e2e' | grep -v images | grep -v "docs/examples")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue