.travis.yml 474 B

1234567891011121314
  1. language: go
  2. before_script:
  3. # make sure we keep path in tact when we sudo
  4. - sudo sed -i -e 's/^Defaults\tsecure_path.*$//' /etc/sudoers
  5. # modprobe ip_gre or else the first gre device can't be deleted
  6. - sudo modprobe ip_gre
  7. # modprobe nf_conntrack for the conntrack testing
  8. - sudo modprobe nf_conntrack
  9. - sudo modprobe nf_conntrack_netlink
  10. - sudo modprobe nf_conntrack_ipv4
  11. - sudo modprobe nf_conntrack_ipv6
  12. install:
  13. - go get github.com/vishvananda/netns