update CI config
This commit is contained in:
parent
e01b55f035
commit
6992e40a84
|
@ -2,7 +2,8 @@
|
||||||
|
|
||||||
Xorm is a simple and powerful ORM for Go.
|
Xorm is a simple and powerful ORM for Go.
|
||||||
|
|
||||||
[](https://circleci.com/gh/go-xorm/xorm/tree/master) [](https://gitter.im/go-xorm/xorm?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
|
[](https://circleci.com/gh/go-xorm/xorm/tree/master) [](https://codecov.io/gh/go-xorm/xorm)
|
||||||
|
[](https://goreportcard.com/report/github.com/go-xorm/xorm) [](https://gitter.im/go-xorm/xorm?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
|
||||||
|
|
||||||
# Notice
|
# Notice
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,8 @@
|
||||||
|
|
||||||
xorm是一个简单而强大的Go语言ORM库. 通过它可以使数据库操作非常简便。
|
xorm是一个简单而强大的Go语言ORM库. 通过它可以使数据库操作非常简便。
|
||||||
|
|
||||||
[](https://circleci.com/gh/go-xorm/xorm/tree/master) [](https://gitter.im/go-xorm/xorm?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
|
[](https://circleci.com/gh/go-xorm/xorm/tree/master) [](https://codecov.io/gh/go-xorm/xorm)
|
||||||
|
[](https://goreportcard.com/report/github.com/go-xorm/xorm) [](https://gitter.im/go-xorm/xorm?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
|
||||||
|
|
||||||
# 注意
|
# 注意
|
||||||
|
|
||||||
|
|
|
@ -21,9 +21,11 @@ database:
|
||||||
test:
|
test:
|
||||||
override:
|
override:
|
||||||
# './...' is a relative pattern which means all subdirectories
|
# './...' is a relative pattern which means all subdirectories
|
||||||
- go test -v -race
|
- go test -v -race -coverprofile=coverage.txt -covermode=atomic
|
||||||
- go test -v -race -db=mysql -conn_str="root:@/xorm_test"
|
- go test -v -race -db=mysql -conn_str="root:@/xorm_test"
|
||||||
- go test -v -race -db=postgres -conn_str="dbname=xorm_test sslmode=disable"
|
- go test -v -race -db=postgres -conn_str="dbname=xorm_test sslmode=disable"
|
||||||
- cd /home/ubuntu/.go_workspace/src/github.com/go-xorm/tests && ./sqlite3.sh
|
- cd /home/ubuntu/.go_workspace/src/github.com/go-xorm/tests && ./sqlite3.sh
|
||||||
- cd /home/ubuntu/.go_workspace/src/github.com/go-xorm/tests && ./mysql.sh
|
- cd /home/ubuntu/.go_workspace/src/github.com/go-xorm/tests && ./mysql.sh
|
||||||
- cd /home/ubuntu/.go_workspace/src/github.com/go-xorm/tests && ./postgres.sh
|
- cd /home/ubuntu/.go_workspace/src/github.com/go-xorm/tests && ./postgres.sh
|
||||||
|
post:
|
||||||
|
- bash <(curl -s https://codecov.io/bash)
|
Loading…
Reference in New Issue