-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #370 from nats-io/update_deps
[UPDATED] Dependencies
- Loading branch information
Showing
5 changed files
with
85 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
language: go | ||
go: | ||
- 1.19.x | ||
- 1.18.x | ||
- 1.17.x | ||
go_import_path: github.com/nats-io/stan.go | ||
install: | ||
- if [[ "$TRAVIS_GO_VERSION" =~ 1.18 ]]; then go install honnef.co/go/tools/cmd/staticcheck@latest; fi | ||
- if [[ "$TRAVIS_GO_VERSION" =~ 1.19 ]]; then go install honnef.co/go/tools/cmd/staticcheck@latest; fi | ||
- go install github.com/client9/misspell/cmd/misspell@latest | ||
before_script: | ||
- $(exit $(go fmt ./... | wc -l)) | ||
- go vet -modfile go_tests.mod ./... | ||
- find . -type f -name "*.go" | grep -v "/pb/" | xargs misspell -error -locale US | ||
- if [[ "$TRAVIS_GO_VERSION" =~ 1.18 ]]; then staticcheck -tests=false ./...; fi | ||
- if [[ "$TRAVIS_GO_VERSION" =~ 1.19 ]]; then staticcheck -tests=false ./...; fi | ||
script: | ||
- go test -v -race . -modfile go_tests.mod | ||
after_success: | ||
- if [[ "$TRAVIS_GO_VERSION" =~ 1.18 ]]; then ./scripts/cov.sh TRAVIS; fi | ||
- if [[ "$TRAVIS_GO_VERSION" =~ 1.19 ]]; then ./scripts/cov.sh TRAVIS; fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.