summaryrefslogtreecommitdiff
path: root/vendor/github.com/vishvananda/netlink/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/vishvananda/netlink/.travis.yml')
-rw-r--r--vendor/github.com/vishvananda/netlink/.travis.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/vendor/github.com/vishvananda/netlink/.travis.yml b/vendor/github.com/vishvananda/netlink/.travis.yml
new file mode 100644
index 000000000..f5c0b3eb5
--- /dev/null
+++ b/vendor/github.com/vishvananda/netlink/.travis.yml
@@ -0,0 +1,13 @@
+language: go
+before_script:
+ # make sure we keep path in tact when we sudo
+ - sudo sed -i -e 's/^Defaults\tsecure_path.*$//' /etc/sudoers
+ # modprobe ip_gre or else the first gre device can't be deleted
+ - sudo modprobe ip_gre
+ # modprobe nf_conntrack for the conntrack testing
+ - sudo modprobe nf_conntrack
+ - sudo modprobe nf_conntrack_netlink
+ - sudo modprobe nf_conntrack_ipv4
+ - sudo modprobe nf_conntrack_ipv6
+install:
+ - go get github.com/vishvananda/netns