增加travis编译脚本

This commit is contained in:
lwch
2021-08-18 11:45:28 +08:00
parent 9c6fc85b0c
commit ca26db7aa4
+19
View File
@@ -0,0 +1,19 @@
language: go
os:
- windows
- linux
- mac
go:
- 1.10.x
- 1.11.x
- 1.12.x
- 1.13.x
- 1.14.x
- 1.15.x
- 1.16.x
script: go test -race -coverprofile=coverage.txt -covermode=atomic
after_success: bash <(curl -s https://codecov.io/bash)