diff options
-rwxr-xr-x | .travis/tests.sh | 8 |
1 files changed, 8 insertions, 0 deletions
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/... |