change the build ci / test
This commit is contained in:
11
.travis.yml
11
.travis.yml
@@ -2,3 +2,14 @@ language: go
|
|||||||
go:
|
go:
|
||||||
- 1.13.x
|
- 1.13.x
|
||||||
- master
|
- master
|
||||||
|
|
||||||
|
go_import_path: github.com/xxjwxc/gormt
|
||||||
|
|
||||||
|
before_install:
|
||||||
|
- go get -t -v ./...
|
||||||
|
|
||||||
|
script:
|
||||||
|
- go test -race -coverprofile=coverage.txt -covermode=atomic
|
||||||
|
|
||||||
|
after_success:
|
||||||
|
- bash <(curl -s https://codecov.io/bash)
|
||||||
@@ -22,8 +22,6 @@ mysql_info:
|
|||||||
username : root
|
username : root
|
||||||
password : qwer
|
password : qwer
|
||||||
database : oauth_db
|
database : oauth_db
|
||||||
|
|
||||||
|
|
||||||
`
|
`
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user