diff --git a/.travis.yml b/.travis.yml index a7a0d7433..2c048ceb6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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)