diff --git a/.travis.yml b/.travis.yml index 158ec96..319ef5d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,3 +6,5 @@ env: before_install: - go get -u github.com/kardianos/govendor - govendor sync +script: + - go test -race -v diff --git a/dns_test.go b/dns_test.go index 87680d7..4bc4c3f 100644 --- a/dns_test.go +++ b/dns_test.go @@ -11,7 +11,7 @@ import ( "testing" ) -var testAddr = ":15353" +var testAddr = "0.0.0.0:15353" var records = []string{ "auth.example.org. A 192.168.1.100",