Update .travis.yml

This commit is contained in:
bjdgyc 2021-02-02 20:34:22 +08:00 committed by GitHub
parent c02ffc27c0
commit 62f30c05ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 7 deletions

View File

@ -2,11 +2,14 @@ language: go
go:
- 1.15
os:
- centos
script: >-
go test -v ./...
go build ./...
- tip
before_install:
- go get -t -v ./...
script:
- go test -race -coverprofile=coverage.txt -covermode=atomic
after_success:
- bash <(curl -s https://codecov.io/bash)