Skip to content

Commit

Permalink
Attempt to run tests as sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
vokomarov committed Mar 9, 2020
1 parent db09092 commit 19872a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +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:
- sudo go test ./... -v -covermode=count -coverprofile=coverage.out
- 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
- golangci-lint run
Expand Down

0 comments on commit 19872a2

Please sign in to comment.