mirror of
https://gitee.com/johng/gf
synced 2026-07-04 13:02:36 +08:00
travis updates
This commit is contained in:
@ -15,8 +15,12 @@ env:
|
||||
services:
|
||||
- mysql
|
||||
|
||||
addons:
|
||||
hosts:
|
||||
- local
|
||||
|
||||
before_install:
|
||||
- echo "127.0.0.1 local" >> /etc/hosts
|
||||
- pwd
|
||||
|
||||
install:
|
||||
- cat /etc/hosts
|
||||
@ -26,7 +30,6 @@ script:
|
||||
- GOARCH=386 go test -v ./...
|
||||
- GOARCH=amd64 go test -v ./... -race -coverprofile=coverage.txt -covermode=atomic
|
||||
|
||||
|
||||
after_success:
|
||||
- bash <(curl -s https://codecov.io/bash)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user