From 1d55b46a34be2b6776c438b5425a3e0afb9d9905 Mon Sep 17 00:00:00 2001 From: Andrea Barberio Date: Thu, 27 Sep 2018 00:28:48 +0100 Subject: Avoid router7 check on go1.9 --- .travis/tests.sh | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to '.travis/tests.sh') diff --git a/.travis/tests.sh b/.travis/tests.sh index b9ddf0c..5310c0c 100755 --- a/.travis/tests.sh +++ b/.travis/tests.sh @@ -16,6 +16,14 @@ done # check that we are not breaking some projects that depend on us. Remove this after moving to # Go versioned modules, see https://github.com/insomniacslk/dhcp/issues/123 + +# Skip go1.9 for this check. rtr7/router7 depends on miekg/dns, which does not +# support go1.9 +if [ "$TRAVIS_GO_VERSION" = "1.9" ] +then + exit 0 +fi + go get github.com/rtr7/router7/cmd/... cd "${GOPATH}/src/github.com/rtr7/router7" go build github.com/rtr7/router7/cmd/... -- cgit v1.2.3