From ca336a1f95a6b89be9c250df26c7a41742eb4a6f Mon Sep 17 00:00:00 2001 From: Julian K Date: Wed, 4 Jan 2017 08:55:54 +0100 Subject: [PATCH] Improve test suite (#435) - Test Go 1.7 instead of 1.5 - Don't use miekg/dns when testing forks --- .travis.yml | 8 +++++++- README.md | 5 +++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1f056ab7..11bc9158 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,13 @@ language: go sudo: false go: - - 1.5 - 1.6 + - 1.7 + +before_install: + # don't use the miekg/dns when testing forks + - mkdir -p $GOPATH/src/github.com/miekg + - ln -s $TRAVIS_BUILD_DIR $GOPATH/src/github.com/miekg/ || true + script: - go test -race -v -bench=. diff --git a/README.md b/README.md index 0e3356cb..0c1f1b6a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ -[![Build Status](https://travis-ci.org/miekg/dns.svg?branch=master)](https://travis-ci.org/miekg/dns) [![](https://godoc.org/github.com/miekg/dns?status.svg)](https://godoc.org/github.com/miekg/dns) +[![Build Status](https://travis-ci.org/miekg/dns.svg?branch=master)](https://travis-ci.org/miekg/dns) +[![](https://godoc.org/github.com/miekg/dns?status.svg)](https://godoc.org/github.com/miekg/dns) # Alternative (more granular) approach to a DNS library @@ -12,7 +13,7 @@ can build servers and resolvers with it. We try to keep the "master" branch as sane as possible and at the bleeding edge of standards, avoiding breaking changes wherever reasonable. We support the last -two versions of Go, currently: 1.5 and 1.6. +two versions of Go, currently: 1.6 and 1.7. # Goals