-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update deps and make use of -modfile for tests deps #316
Conversation
Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, minor question.
.travis.yml
Outdated
@@ -17,7 +11,6 @@ before_script: | |||
- find . -type f -name "*.go" | grep -v "/pb/" | xargs misspell -error -locale US | |||
- staticcheck ./... | |||
script: | |||
- go test -i -v ./... | |||
- go test -v -race ./... | |||
- go test -v -race -p=1 ./... -modfile go_tests.mod |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still need -p1?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually in this repo we don't because there is a single test package. I can remove.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@derekcollison @wallyqs @philpennock I think that we could merge this PR even though that puts Go 1.14 as the minimal version... for Travis. That is, a user of this lib will have the proper go.mod for deps needed to build the library, regardless of what Go version they are using. |
Sounds ok to me. |
Signed-off-by: Ivan Kozlovic ivan@synadia.com