travis updates

This commit is contained in:
John
2019-03-08 08:48:53 +08:00
parent 22a7ef43ce
commit 40771066d4

View File

@ -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)