Skip to content

Commit

Permalink
Fix downloading packages as non root
Browse files Browse the repository at this point in the history
  • Loading branch information
vokomarov committed Mar 9, 2020
1 parent 19872a2 commit ce2813b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ install:
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.23.6

script:
- go mod download
- sudo $(which go) test ./... -v -covermode=count -coverprofile=coverage.out
- cat coverage.out | grep -v "main.go" | grep -v "hosts.go" | grep -v "ports.go" > cover.out
- goveralls -coverprofile=cover.out -service=travis-ci
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
.PHONY: test

test:
sudo go test ./scanner/... -v -covermode=count
sudo go test ./... -v -covermode=count

0 comments on commit ce2813b

Please sign in to comment.