Skip to content

Commit 1122522

Browse files
committed
Update .travis.yml
1 parent bc0f87f commit 1122522

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@ go:
99
- 1.17
1010

1111
before_install:
12-
- go get -t -v ./...
12+
- go mod tidy
13+
- go mod vendor
1314

1415
script:
15-
- go test -race -coverprofile=coverage.txt -covermode=atomic
16+
- go test -mod=vendor -race -coverprofile=coverage.txt -covermode=atomic
1617

1718
after_success:
1819
- bash <(curl -s https://codecov.io/bash) -t 7fee0497-8d0f-490b-b8e1-89851dbdfe96

0 commit comments

Comments
 (0)