mirror of https://github.com/go-gorm/gorm.git
Enable codecov
This commit is contained in:
parent
2cd73627bd
commit
b00248862a
|
@ -1,11 +0,0 @@
|
||||||
---
|
|
||||||
engines:
|
|
||||||
gofmt:
|
|
||||||
enabled: true
|
|
||||||
govet:
|
|
||||||
enabled: true
|
|
||||||
golint:
|
|
||||||
enabled: true
|
|
||||||
ratings:
|
|
||||||
paths:
|
|
||||||
- "**.go"
|
|
|
@ -1,2 +1,3 @@
|
||||||
documents
|
documents
|
||||||
|
coverage.txt
|
||||||
_book
|
_book
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
language: go
|
||||||
|
|
||||||
|
go:
|
||||||
|
- 1.12.x
|
||||||
|
- 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)
|
Loading…
Reference in New Issue