2014-10-31 18:48:25 +00:00
|
|
|
language: go
|
2015-12-18 19:41:21 +00:00
|
|
|
before_script:
|
2015-12-18 20:14:58 +00:00
|
|
|
# make sure we keep path in tact when we sudo
|
2015-12-18 19:41:21 +00:00
|
|
|
- sudo sed -i -e 's/^Defaults\tsecure_path.*$//' /etc/sudoers
|
2015-12-18 20:14:58 +00:00
|
|
|
# modprobe ip_gre or else the first gre device can't be deleted
|
|
|
|
- sudo modprobe ip_gre
|
2017-04-04 01:52:56 +00:00
|
|
|
# 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
|
2014-10-31 19:27:21 +00:00
|
|
|
install:
|
2015-12-18 19:41:21 +00:00
|
|
|
- go get github.com/vishvananda/netns
|