summaryrefslogtreecommitdiffhomepage
path: root/.travis/tests.sh
diff options
context:
space:
mode:
authorAndrea Barberio <insomniac@slackware.it>2018-09-27 00:28:48 +0100
committerAndrea Barberio <insomniac@slackware.it>2018-09-27 00:28:48 +0100
commit1d55b46a34be2b6776c438b5425a3e0afb9d9905 (patch)
tree1c63f7ce1067617b2acd4af0f1415a6bd4a85a28 /.travis/tests.sh
parent0845afe72e425c66b9dd591c375e810cfb85de47 (diff)
Avoid router7 check on go1.9
Diffstat (limited to '.travis/tests.sh')
-rwxr-xr-x.travis/tests.sh8
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/...